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
- Native.cs
- WorkflowQueueInfo.cs
- RankException.cs
- ListViewItemCollectionEditor.cs
- AssemblyBuilder.cs
- UpdateRecord.cs
- SiteOfOriginPart.cs
- XmlDataLoader.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MarkupCompiler.cs
- DataGridViewCellParsingEventArgs.cs
- _TimerThread.cs
- ContentHostHelper.cs
- StateRuntime.cs
- ObjectSecurity.cs
- TempFiles.cs
- DataGridViewRowsRemovedEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- StringUtil.cs
- AssemblyName.cs
- ServiceCredentialsSecurityTokenManager.cs
- HttpHandlerAction.cs
- HtmlUtf8RawTextWriter.cs
- DirectoryNotFoundException.cs
- TraceSection.cs
- DataGridViewAdvancedBorderStyle.cs
- ValuePatternIdentifiers.cs
- NullToBooleanConverter.cs
- CodeStatement.cs
- TextRangeProviderWrapper.cs
- Light.cs
- SmtpTransport.cs
- MoveSizeWinEventHandler.cs
- ValidationService.cs
- SequentialActivityDesigner.cs
- RestHandlerFactory.cs
- Misc.cs
- SafeHandle.cs
- CodeConstructor.cs
- __FastResourceComparer.cs
- TabletCollection.cs
- PluralizationServiceUtil.cs
- XPathSingletonIterator.cs
- NativeMethods.cs
- ConnectionStringSettings.cs
- ImageListUtils.cs
- ACL.cs
- NullableBoolConverter.cs
- XmlEntity.cs
- HelpKeywordAttribute.cs
- GifBitmapDecoder.cs
- CodeMethodReturnStatement.cs
- PublisherIdentityPermission.cs
- Errors.cs
- Baml2006Reader.cs
- SemanticValue.cs
- FunctionMappingTranslator.cs
- ContextMenuService.cs
- ResourcesChangeInfo.cs
- RuleSettings.cs
- RecoverInstanceLocksCommand.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- EmptyStringExpandableObjectConverter.cs
- Missing.cs
- ExtendedProperty.cs
- DataObjectMethodAttribute.cs
- KoreanLunisolarCalendar.cs
- MetabaseServerConfig.cs
- DataServiceRequestOfT.cs
- SelectionWordBreaker.cs
- DataObject.cs
- Operators.cs
- InternalConfigSettingsFactory.cs
- NameValuePermission.cs
- OracleColumn.cs
- messageonlyhwndwrapper.cs
- SqlProcedureAttribute.cs
- TextProperties.cs
- HandlerBase.cs
- ComponentDesigner.cs
- ContextMenu.cs
- DesignerActionMethodItem.cs
- MarkedHighlightComponent.cs
- OutputCacheSection.cs
- MouseButton.cs
- DesignerActionUIService.cs
- ServiceEndpoint.cs
- GroupBoxRenderer.cs
- ChannelDispatcher.cs
- RegexGroupCollection.cs
- CommentAction.cs
- WebPartEditorApplyVerb.cs
- SQLDecimal.cs
- EncoderBestFitFallback.cs
- SizeAnimationClockResource.cs
- WorkerRequest.cs
- TransactionScopeDesigner.cs
- PartManifestEntry.cs
- MsmqIntegrationBindingElement.cs
- Panel.cs