Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1 / ToolStripPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripPanelRenderEventArgs /// public class ToolStripPanelRenderEventArgs : EventArgs { private ToolStripPanel toolStripPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripPanelRenderEventArgs(Graphics g, ToolStripPanel toolStripPanel) { this.toolStripPanel = toolStripPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// Represents which toolStrip was affected by the click /// public ToolStripPanel ToolStripPanel { get { return toolStripPanel; } } public bool Handled { get { return handled; } set { handled = value; } } } } // 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; ////// ToolStripPanelRenderEventArgs /// public class ToolStripPanelRenderEventArgs : EventArgs { private ToolStripPanel toolStripPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripPanelRenderEventArgs(Graphics g, ToolStripPanel toolStripPanel) { this.toolStripPanel = toolStripPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } ////// Represents which toolStrip was affected by the click /// public ToolStripPanel ToolStripPanel { get { return toolStripPanel; } } public bool Handled { get { return handled; } set { handled = value; } } } } // 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
- xdrvalidator.cs
- MULTI_QI.cs
- ErasingStroke.cs
- DataBoundControlActionList.cs
- Byte.cs
- TaiwanCalendar.cs
- ObjectDataSourceFilteringEventArgs.cs
- HtmlElement.cs
- XMLSyntaxException.cs
- StreamBodyWriter.cs
- TextServicesCompartment.cs
- UInt64Converter.cs
- ListViewInsertionMark.cs
- OpCellTreeNode.cs
- CodeMemberProperty.cs
- ScopelessEnumAttribute.cs
- OleServicesContext.cs
- PeerCollaborationPermission.cs
- TemplateBindingExpressionConverter.cs
- DbMetaDataColumnNames.cs
- ItemCheckEvent.cs
- InputLangChangeEvent.cs
- RuntimeWrappedException.cs
- QueryConverter.cs
- Line.cs
- ComponentGlyph.cs
- EventsTab.cs
- RawTextInputReport.cs
- LassoHelper.cs
- DtrList.cs
- AsmxEndpointPickerExtension.cs
- SettingsAttributes.cs
- ObjectKeyFrameCollection.cs
- DbMetaDataCollectionNames.cs
- SuppressMessageAttribute.cs
- sqlpipe.cs
- AttributeTable.cs
- PolicyException.cs
- PersonalizablePropertyEntry.cs
- CompositeActivityMarkupSerializer.cs
- X509Certificate2Collection.cs
- TypeElementCollection.cs
- _SslState.cs
- FlowchartSizeFeature.cs
- IDispatchConstantAttribute.cs
- BlockExpression.cs
- UmAlQuraCalendar.cs
- WinCategoryAttribute.cs
- SingleKeyFrameCollection.cs
- TreeView.cs
- TextBox.cs
- IgnoreFileBuildProvider.cs
- Stack.cs
- FilterUserControlBase.cs
- TextViewBase.cs
- basevalidator.cs
- COM2PictureConverter.cs
- CheckedPointers.cs
- DesignerSelectionListAdapter.cs
- PropertyIDSet.cs
- StateElementCollection.cs
- GeneralTransform3DTo2DTo3D.cs
- MetadataCache.cs
- HtmlTableRowCollection.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- MarkupExtensionSerializer.cs
- LocalizabilityAttribute.cs
- LeaseManager.cs
- HandleCollector.cs
- RepeatButtonAutomationPeer.cs
- ProgressBar.cs
- _ConnectionGroup.cs
- NonVisualControlAttribute.cs
- storepermissionattribute.cs
- Transactions.cs
- AnnotationObservableCollection.cs
- ExpressionBindingCollection.cs
- BitmapFrameEncode.cs
- ConstraintCollection.cs
- DebuggerAttributes.cs
- StylusCaptureWithinProperty.cs
- SelectorItemAutomationPeer.cs
- HttpConfigurationSystem.cs
- SerializationHelper.cs
- ConfigurationConverterBase.cs
- SchemaCollectionCompiler.cs
- GenericEnumerator.cs
- SecurityException.cs
- XmlBinaryReader.cs
- SoapFormatterSinks.cs
- ClientRuntimeConfig.cs
- ObjectQuery_EntitySqlExtensions.cs
- EntityViewGenerator.cs
- PerfService.cs
- X509DefaultServiceCertificateElement.cs
- InputGestureCollection.cs
- ParallelActivityDesigner.cs
- MappingSource.cs
- UrlPropertyAttribute.cs
- UIAgentAsyncParams.cs