Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / ToolStripContentPanelRenderEventArgs.cs / 1 / ToolStripContentPanelRenderEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Drawing; ////// ToolStripContentPanelRenderEventArgs /// public class ToolStripContentPanelRenderEventArgs : EventArgs { private ToolStripContentPanel contentPanel = null; private Graphics graphics = null; private bool handled = false; ////// This class represents all the information to render the toolStrip /// public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; } ////// the graphics object to draw with /// public Graphics Graphics { get { return graphics; } } public bool Handled { get { return handled; } set { handled = value; } } ////// Represents which toolStrip was affected by the click /// public ToolStripContentPanel ToolStripContentPanel { get { return contentPanel; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartDisplayModeCollection.cs
- AddIn.cs
- CachedResourceDictionaryExtension.cs
- ELinqQueryState.cs
- CommandField.cs
- SettingsSection.cs
- DesignerProperties.cs
- DesignerVerb.cs
- PerformanceCounterPermissionEntryCollection.cs
- MLangCodePageEncoding.cs
- DataControlFieldCollection.cs
- SqlDataRecord.cs
- DragEventArgs.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ReversePositionQuery.cs
- ProcessingInstructionAction.cs
- TypedElement.cs
- Automation.cs
- TagMapCollection.cs
- XmlDocumentFragment.cs
- DataSetViewSchema.cs
- NamespaceList.cs
- JsonReaderWriterFactory.cs
- SQLInt32.cs
- Utils.cs
- SafePEFileHandle.cs
- ParseNumbers.cs
- dataobject.cs
- GradientBrush.cs
- FontFamilyIdentifier.cs
- mediapermission.cs
- SignatureDescription.cs
- SqlCacheDependencySection.cs
- HttpValueCollection.cs
- GAC.cs
- Stylesheet.cs
- UpdatableGenericsFeature.cs
- XmlComment.cs
- _NestedMultipleAsyncResult.cs
- DataObject.cs
- IntegerValidatorAttribute.cs
- ListItemParagraph.cs
- AbandonedMutexException.cs
- JavaScriptObjectDeserializer.cs
- SmtpNetworkElement.cs
- PrintControllerWithStatusDialog.cs
- ADMembershipUser.cs
- DbConvert.cs
- CompiledRegexRunnerFactory.cs
- DataGridViewAccessibleObject.cs
- ShapingEngine.cs
- NetPeerTcpBindingCollectionElement.cs
- StdRegProviderWrapper.cs
- ScriptingProfileServiceSection.cs
- IISMapPath.cs
- SafeViewOfFileHandle.cs
- XPathParser.cs
- WebPartMenu.cs
- NativeMethods.cs
- DbgCompiler.cs
- DBDataPermission.cs
- behaviorssection.cs
- ServiceHttpModule.cs
- CodeConstructor.cs
- MonthCalendar.cs
- XslAst.cs
- DBSqlParser.cs
- Accessible.cs
- DateTime.cs
- NameValueSectionHandler.cs
- ScriptControlDescriptor.cs
- DataControlCommands.cs
- Size3DConverter.cs
- LayoutInformation.cs
- DuplicateWaitObjectException.cs
- PostBackOptions.cs
- CompoundFileReference.cs
- WebPartCloseVerb.cs
- UTF7Encoding.cs
- SerializationFieldInfo.cs
- __TransparentProxy.cs
- CompatibleComparer.cs
- RectAnimationClockResource.cs
- RecognizeCompletedEventArgs.cs
- WebPartEditorApplyVerb.cs
- AssemblyBuilder.cs
- WriteableBitmap.cs
- DataGridViewCellStyle.cs
- MILUtilities.cs
- WindowsStatusBar.cs
- _WinHttpWebProxyDataBuilder.cs
- ProcessModuleCollection.cs
- WebColorConverter.cs
- FormDesigner.cs
- PreviewKeyDownEventArgs.cs
- SuppressIldasmAttribute.cs
- PageCodeDomTreeGenerator.cs
- DetailsView.cs
- WindowsFormsEditorServiceHelper.cs
- SchemaImporterExtensionElement.cs