Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DateRangeEvent.cs
- ResourceManagerWrapper.cs
- HtmlTextArea.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- _IPv6Address.cs
- KeyedHashAlgorithm.cs
- SafeNativeMethods.cs
- XmlCustomFormatter.cs
- TouchDevice.cs
- FileAuthorizationModule.cs
- LocalizableResourceBuilder.cs
- HandoffBehavior.cs
- DesignerCategoryAttribute.cs
- TextEffectResolver.cs
- XmlDomTextWriter.cs
- EndpointConfigContainer.cs
- XmlSchemaComplexContent.cs
- FlowLayoutSettings.cs
- ServiceHttpHandlerFactory.cs
- PersistenceProvider.cs
- UInt16.cs
- CodePageEncoding.cs
- EventHandlingScope.cs
- ElementFactory.cs
- SqlBuilder.cs
- SettingsPropertyValueCollection.cs
- ListViewDeletedEventArgs.cs
- Scheduler.cs
- CqlQuery.cs
- SafeFileMappingHandle.cs
- CloseCollectionAsyncResult.cs
- EntitySqlQueryState.cs
- rsa.cs
- InputMethodStateTypeInfo.cs
- HMAC.cs
- PartManifestEntry.cs
- TargetException.cs
- JavaScriptString.cs
- SamlAdvice.cs
- EndSelectCardRequest.cs
- TextInfo.cs
- OracleBinary.cs
- ProviderMetadataCachedInformation.cs
- WCFServiceClientProxyGenerator.cs
- ScriptReference.cs
- NumericExpr.cs
- PartialCachingAttribute.cs
- InvalidPipelineStoreException.cs
- DataListCommandEventArgs.cs
- EventLogEntryCollection.cs
- EditingMode.cs
- MonthChangedEventArgs.cs
- CodeSubDirectory.cs
- EventlogProvider.cs
- CodeConstructor.cs
- EqualityArray.cs
- Annotation.cs
- AudioLevelUpdatedEventArgs.cs
- XmlSchemaInferenceException.cs
- UserPersonalizationStateInfo.cs
- SmiGettersStream.cs
- DataGridViewCellMouseEventArgs.cs
- DataGridViewElement.cs
- PageBuildProvider.cs
- GB18030Encoding.cs
- TreeViewItem.cs
- _DigestClient.cs
- ContainerSelectorActiveEvent.cs
- TriggerAction.cs
- Root.cs
- CollectionType.cs
- Block.cs
- SerialPinChanges.cs
- KerberosSecurityTokenProvider.cs
- BufferedWebEventProvider.cs
- BuildManager.cs
- NativeMethods.cs
- RequiredFieldValidator.cs
- WindowsEditBox.cs
- InternalDispatchObject.cs
- TrustManager.cs
- StorageInfo.cs
- PropertyOrder.cs
- TransformGroup.cs
- SetUserPreferenceRequest.cs
- ChannelOptions.cs
- StrokeFIndices.cs
- SeverityFilter.cs
- OrderedHashRepartitionEnumerator.cs
- FaultCallbackWrapper.cs
- Paragraph.cs
- ToolStripGrip.cs
- QueryContinueDragEventArgs.cs
- EncryptRequest.cs
- Soap12ProtocolImporter.cs
- InkCanvasFeedbackAdorner.cs
- DataServiceRequestOfT.cs
- StylusTip.cs
- StringTraceRecord.cs
- DispatcherTimer.cs