Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- UnionCodeGroup.cs
- ContentFileHelper.cs
- PagerStyle.cs
- BinaryMethodMessage.cs
- WindowsRegion.cs
- ToolStripPanelRenderEventArgs.cs
- WebPartZoneCollection.cs
- HitTestResult.cs
- HybridDictionary.cs
- RoleBoolean.cs
- HtmlWindowCollection.cs
- TextSegment.cs
- SafeFileMappingHandle.cs
- RelationshipDetailsRow.cs
- safelinkcollection.cs
- JoinElimination.cs
- BlobPersonalizationState.cs
- HttpCookiesSection.cs
- QilScopedVisitor.cs
- DateTimeFormat.cs
- Win32.cs
- ValueConversionAttribute.cs
- QilParameter.cs
- TrackingMemoryStreamFactory.cs
- Binding.cs
- HtmlAnchor.cs
- TypeNameConverter.cs
- ViewGenerator.cs
- PageThemeCodeDomTreeGenerator.cs
- EventSetter.cs
- WebUtil.cs
- ImplicitInputBrush.cs
- IssuedTokenClientElement.cs
- RepeatBehavior.cs
- RouteUrlExpressionBuilder.cs
- Canvas.cs
- ProjectionPruner.cs
- TypeElementCollection.cs
- ReferenceEqualityComparer.cs
- ScriptResourceInfo.cs
- ItemList.cs
- HostedElements.cs
- PaintValueEventArgs.cs
- _AuthenticationState.cs
- ListSourceHelper.cs
- WebPartVerb.cs
- ObjectPersistData.cs
- TrackingLocationCollection.cs
- BinaryOperationBinder.cs
- SelfIssuedAuthAsymmetricKey.cs
- EventMap.cs
- SqlBooleanMismatchVisitor.cs
- Compiler.cs
- ConnectionProviderAttribute.cs
- SymbolType.cs
- ApplicationId.cs
- Application.cs
- PropertyItem.cs
- SystemParameters.cs
- DataGridViewColumn.cs
- Ops.cs
- UInt64.cs
- FreezableCollection.cs
- hwndwrapper.cs
- ProviderSettings.cs
- SmiEventSink.cs
- RotateTransform.cs
- Line.cs
- SwitchAttribute.cs
- SerializationInfoEnumerator.cs
- LazyInitializer.cs
- IIS7UserPrincipal.cs
- DataServiceKeyAttribute.cs
- OutputCacheSection.cs
- WmlObjectListAdapter.cs
- TemplatedMailWebEventProvider.cs
- HostProtectionPermission.cs
- Tuple.cs
- Classification.cs
- HwndStylusInputProvider.cs
- ExceptionUtil.cs
- KeyBinding.cs
- AdRotator.cs
- CommandField.cs
- SecurityRuntime.cs
- WsatConfiguration.cs
- InstanceKeyCollisionException.cs
- SqlProcedureAttribute.cs
- WebResourceAttribute.cs
- ItemType.cs
- DecoderBestFitFallback.cs
- ImageField.cs
- RuleSettingsCollection.cs
- ResourceDictionaryCollection.cs
- SafeEventLogWriteHandle.cs
- StatusBarPanel.cs
- SharedTcpTransportManager.cs
- ActivityMarkupSerializer.cs
- ServiceBuildProvider.cs
- SafeCloseHandleCritical.cs