Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1 / ToolStripContentPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DecimalKeyFrameCollection.cs
- PropertyMap.cs
- PatternMatcher.cs
- QuaternionAnimationBase.cs
- RegistrySecurity.cs
- SizeConverter.cs
- FontSourceCollection.cs
- XmlQueryTypeFactory.cs
- X509InitiatorCertificateClientElement.cs
- WebPartConnectionsDisconnectVerb.cs
- BlockCollection.cs
- InitializeCorrelation.cs
- Border.cs
- MaskInputRejectedEventArgs.cs
- EntityDataSourceQueryBuilder.cs
- StringUtil.cs
- _HeaderInfo.cs
- TileBrush.cs
- EntryPointNotFoundException.cs
- DiscoveryClientChannelBase.cs
- DataGridViewComboBoxEditingControl.cs
- GZipStream.cs
- CustomAttributeSerializer.cs
- CompositeDuplexElement.cs
- ClientType.cs
- NativeMethods.cs
- SqlTransaction.cs
- NumberSubstitution.cs
- AppSettingsReader.cs
- DCSafeHandle.cs
- Rotation3DAnimationUsingKeyFrames.cs
- IndicCharClassifier.cs
- ValidationUtility.cs
- MatrixAnimationUsingPath.cs
- DataObjectFieldAttribute.cs
- WebPageTraceListener.cs
- OleDragDropHandler.cs
- ComboBox.cs
- TextCompositionManager.cs
- DataObjectPastingEventArgs.cs
- SQLBinary.cs
- TransactionScopeDesigner.cs
- SqlOuterApplyReducer.cs
- WmlListAdapter.cs
- Parsers.cs
- ListViewTableCell.cs
- Light.cs
- PlainXmlSerializer.cs
- TableLayoutSettings.cs
- AmbientLight.cs
- TextShapeableCharacters.cs
- NativeWindow.cs
- FormView.cs
- LassoSelectionBehavior.cs
- GiveFeedbackEvent.cs
- QilPatternFactory.cs
- ListViewItemEventArgs.cs
- CodeGeneratorOptions.cs
- ToolBar.cs
- WriteStateInfoBase.cs
- IntPtr.cs
- DataSourceControl.cs
- DocumentViewerAutomationPeer.cs
- DataControlFieldCell.cs
- ThumbAutomationPeer.cs
- FaultFormatter.cs
- ParameterCollection.cs
- EpmTargetPathSegment.cs
- WebServiceParameterData.cs
- SQLByte.cs
- SiteMapNodeCollection.cs
- DocumentGrid.cs
- ObjectQueryExecutionPlan.cs
- followingsibling.cs
- DateTimeOffsetConverter.cs
- RowToFieldTransformer.cs
- FormViewDeleteEventArgs.cs
- Marshal.cs
- WebPartConnectionsConfigureVerb.cs
- __Error.cs
- EntityDataSourceView.cs
- FileUtil.cs
- BamlStream.cs
- SizeIndependentAnimationStorage.cs
- SafeTokenHandle.cs
- TcpProcessProtocolHandler.cs
- XmlTextAttribute.cs
- PromptStyle.cs
- OleServicesContext.cs
- BamlResourceDeserializer.cs
- ColorContext.cs
- ConfigurationSettings.cs
- DefaultMemberAttribute.cs
- Keywords.cs
- ByteAnimationUsingKeyFrames.cs
- ScriptControlManager.cs
- WebPartsPersonalization.cs
- FileDialog_Vista_Interop.cs
- DataGridCommandEventArgs.cs
- DetailsViewInsertEventArgs.cs