Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripPanelRenderEventArgs.cs / 1305376 / 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
- VersionedStream.cs
- ManipulationLogic.cs
- HttpListenerRequestUriBuilder.cs
- TypeBrowser.xaml.cs
- DataServiceHost.cs
- GestureRecognitionResult.cs
- JsonUriDataContract.cs
- TypeElementCollection.cs
- DataPagerField.cs
- HTTPRemotingHandler.cs
- Bold.cs
- isolationinterop.cs
- SiteMapNodeItemEventArgs.cs
- ProgressBarAutomationPeer.cs
- StatusBar.cs
- GridViewRow.cs
- MouseActionValueSerializer.cs
- RemoteDebugger.cs
- TargetException.cs
- XmlTextReaderImplHelpers.cs
- CanonicalFontFamilyReference.cs
- ResolveCriteriaCD1.cs
- CurrentChangingEventArgs.cs
- ParallelTimeline.cs
- DbModificationClause.cs
- ThicknessAnimationBase.cs
- SchemaMapping.cs
- IsolatedStorageFileStream.cs
- IERequestCache.cs
- OutputScopeManager.cs
- Events.cs
- PtsHelper.cs
- StreamReader.cs
- ListParagraph.cs
- PartitionResolver.cs
- AssemblyBuilder.cs
- SizeChangedEventArgs.cs
- DataShape.cs
- TreeNodeBindingDepthConverter.cs
- ItemsPanelTemplate.cs
- Sql8ExpressionRewriter.cs
- NativeCppClassAttribute.cs
- CheckBoxBaseAdapter.cs
- KeyedHashAlgorithm.cs
- EventHandlerService.cs
- MethodBuilderInstantiation.cs
- RuntimeHandles.cs
- odbcmetadatacollectionnames.cs
- ItemChangedEventArgs.cs
- MarshalByRefObject.cs
- AppLevelCompilationSectionCache.cs
- ProgressBarHighlightConverter.cs
- InvokeGenerator.cs
- TextChangedEventArgs.cs
- MinimizableAttributeTypeConverter.cs
- TableLayoutStyle.cs
- SecureEnvironment.cs
- ConfigXmlWhitespace.cs
- HatchBrush.cs
- IERequestCache.cs
- CellQuery.cs
- GlyphingCache.cs
- BrowserCapabilitiesFactoryBase.cs
- HitTestParameters.cs
- HScrollBar.cs
- EncryptedData.cs
- SafeNativeMethods.cs
- SqlDataSourceView.cs
- ServiceOperationWrapper.cs
- BinarySerializer.cs
- AutomationAttributeInfo.cs
- RelationshipDetailsRow.cs
- Vars.cs
- BigIntegerStorage.cs
- FileDialog.cs
- OracleNumber.cs
- DataControlFieldCell.cs
- HttpConfigurationSystem.cs
- Subset.cs
- RoutingTable.cs
- ProfileGroupSettingsCollection.cs
- BindingExpressionUncommonField.cs
- DataBoundControlAdapter.cs
- CommandValueSerializer.cs
- WebPartConnectVerb.cs
- SqlDataReader.cs
- Timeline.cs
- NeutralResourcesLanguageAttribute.cs
- UrlMappingCollection.cs
- GlobalizationAssembly.cs
- RegexRunnerFactory.cs
- TryExpression.cs
- ScriptReferenceEventArgs.cs
- Label.cs
- SamlAuthorizationDecisionClaimResource.cs
- ListControlDesigner.cs
- ResourceExpressionBuilder.cs
- EventItfInfo.cs
- MutableAssemblyCacheEntry.cs
- HierarchicalDataSourceConverter.cs