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
- CategoryNameCollection.cs
- ThreadStartException.cs
- AuthenticatingEventArgs.cs
- KerberosSecurityTokenAuthenticator.cs
- ObjectIDGenerator.cs
- Control.cs
- HandlerBase.cs
- TogglePattern.cs
- SiteMapNodeCollection.cs
- InfoCardSymmetricAlgorithm.cs
- WindowsListBox.cs
- shaperfactory.cs
- TextTreeInsertElementUndoUnit.cs
- StreamReader.cs
- ResolveCriteria11.cs
- TypeExtension.cs
- OrderPreservingPipeliningMergeHelper.cs
- SiteMapDesignerDataSourceView.cs
- CollaborationHelperFunctions.cs
- TextTrailingWordEllipsis.cs
- AdPostCacheSubstitution.cs
- NetPeerTcpBinding.cs
- QilName.cs
- RoleManagerModule.cs
- SqlCacheDependencySection.cs
- XomlCompiler.cs
- ConditionCollection.cs
- ByeOperationCD1AsyncResult.cs
- XmlSchema.cs
- MouseActionConverter.cs
- NotCondition.cs
- FileDialogCustomPlaces.cs
- TimeSpanMinutesConverter.cs
- BitmapEffectInputData.cs
- Color.cs
- WsdlInspector.cs
- HitTestWithPointDrawingContextWalker.cs
- MemoryFailPoint.cs
- _NestedSingleAsyncResult.cs
- CTreeGenerator.cs
- ListViewDataItem.cs
- MimeReflector.cs
- EncodingTable.cs
- SecurityUniqueId.cs
- RegisteredScript.cs
- AppDomainUnloadedException.cs
- SystemTcpConnection.cs
- CompilationUnit.cs
- DockingAttribute.cs
- RowsCopiedEventArgs.cs
- _NetworkingPerfCounters.cs
- TriggerBase.cs
- SmtpTransport.cs
- XLinq.cs
- ColumnMapProcessor.cs
- PopupControlService.cs
- ProviderMetadata.cs
- WebPartPersonalization.cs
- MethodImplAttribute.cs
- ChannelFactoryRefCache.cs
- MaskInputRejectedEventArgs.cs
- ListManagerBindingsCollection.cs
- METAHEADER.cs
- IPAddress.cs
- WebPartEditVerb.cs
- TitleStyle.cs
- RtfToken.cs
- System.Data.OracleClient_BID.cs
- SQLRoleProvider.cs
- APCustomTypeDescriptor.cs
- SerializationStore.cs
- GridViewRow.cs
- SafeProcessHandle.cs
- ProxyElement.cs
- EventPrivateKey.cs
- ActivityTypeDesigner.xaml.cs
- SqlClientWrapperSmiStream.cs
- EntityWithKeyStrategy.cs
- DataGridViewRowCollection.cs
- HttpStaticObjectsCollectionWrapper.cs
- UnmanagedMarshal.cs
- NonBatchDirectoryCompiler.cs
- MoveSizeWinEventHandler.cs
- CompositionTarget.cs
- CheckPair.cs
- CorePropertiesFilter.cs
- Pen.cs
- SHA512.cs
- SQLBytes.cs
- NetNamedPipeSecurity.cs
- SerializationFieldInfo.cs
- BaseValidator.cs
- WebEncodingValidatorAttribute.cs
- PropertyInformationCollection.cs
- HtmlWindow.cs
- NetworkCredential.cs
- CancellationHandler.cs
- X509Chain.cs
- SecurityCriticalDataForSet.cs
- RtType.cs