Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConnectionPoolManager.cs
- NumberSubstitution.cs
- ListBoxItemAutomationPeer.cs
- arabicshape.cs
- altserialization.cs
- X509IssuerSerialKeyIdentifierClause.cs
- SingleBodyParameterMessageFormatter.cs
- OperationResponse.cs
- LabelTarget.cs
- OnOperation.cs
- FieldTemplateUserControl.cs
- TextEditorThreadLocalStore.cs
- TemplateComponentConnector.cs
- BooleanSwitch.cs
- NameValueConfigurationCollection.cs
- ConfigurationLockCollection.cs
- X509Extension.cs
- HtmlToClrEventProxy.cs
- InputMethodStateChangeEventArgs.cs
- WebBrowsableAttribute.cs
- IBuiltInEvidence.cs
- TimeSpanOrInfiniteConverter.cs
- OleDbTransaction.cs
- IPAddressCollection.cs
- FormViewInsertedEventArgs.cs
- CannotUnloadAppDomainException.cs
- SerializerDescriptor.cs
- SoapObjectInfo.cs
- XmlDomTextWriter.cs
- IsolatedStorageSecurityState.cs
- ResourceAssociationSetEnd.cs
- AssemblyInfo.cs
- HtmlInputText.cs
- HostedTransportConfigurationManager.cs
- ContactManager.cs
- _LocalDataStoreMgr.cs
- latinshape.cs
- ToolStripItemDataObject.cs
- TextEncodedRawTextWriter.cs
- SerializationAttributes.cs
- ComplexLine.cs
- Claim.cs
- CookieParameter.cs
- XmlAttributeProperties.cs
- JsonWriter.cs
- InstanceKeyNotReadyException.cs
- namescope.cs
- StagingAreaInputItem.cs
- HtmlTableRowCollection.cs
- MeasureData.cs
- SqlProviderManifest.cs
- MsmqBindingMonitor.cs
- ConstructorExpr.cs
- SamlAssertionKeyIdentifierClause.cs
- XmlResolver.cs
- FixedTextBuilder.cs
- PrintingPermissionAttribute.cs
- IsolatedStorageFilePermission.cs
- HttpResponse.cs
- PartialCachingAttribute.cs
- BroadcastEventHelper.cs
- ContainerControl.cs
- SpinLock.cs
- WebPartConnectionsCloseVerb.cs
- SimpleMailWebEventProvider.cs
- HttpModuleActionCollection.cs
- WeakEventTable.cs
- ConfigUtil.cs
- Calendar.cs
- TakeQueryOptionExpression.cs
- DeviceContext.cs
- CqlLexer.cs
- Funcletizer.cs
- EventRecordWrittenEventArgs.cs
- PathFigureCollectionValueSerializer.cs
- CommonDialog.cs
- OperatingSystemVersionCheck.cs
- BindingWorker.cs
- EntityWrapperFactory.cs
- DataSourceView.cs
- AddingNewEventArgs.cs
- ApplicationBuildProvider.cs
- AuthenticationSection.cs
- RightsDocument.cs
- DLinqTableProvider.cs
- DbSetClause.cs
- EncodingTable.cs
- MimeMultiPart.cs
- Transform.cs
- ConfigurationSettings.cs
- CalendarAutoFormat.cs
- TraceSection.cs
- AttributeQuery.cs
- ParserContext.cs
- EventItfInfo.cs
- CultureData.cs
- TabControlEvent.cs
- SecurityTokenSpecification.cs
- ScalarType.cs
- AmbientValueAttribute.cs