Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StringStorage.cs
- XmlSchemaElement.cs
- InkPresenter.cs
- _SafeNetHandles.cs
- DBConcurrencyException.cs
- StringHandle.cs
- PowerStatus.cs
- Permission.cs
- PreviewKeyDownEventArgs.cs
- DataList.cs
- KeyFrames.cs
- PreviewControlDesigner.cs
- PropertyDescriptorCollection.cs
- BinaryParser.cs
- Camera.cs
- MessageLoggingFilterTraceRecord.cs
- WorkflowInspectionServices.cs
- MethodMessage.cs
- ContentType.cs
- XmlEntityReference.cs
- StringUtil.cs
- DispatcherHooks.cs
- DataGridRow.cs
- ColumnMapTranslator.cs
- IfElseDesigner.xaml.cs
- InlineUIContainer.cs
- XmlSchemaInferenceException.cs
- XmlComplianceUtil.cs
- ParameterSubsegment.cs
- DynamicRenderer.cs
- RotateTransform3D.cs
- FormViewRow.cs
- FragmentNavigationEventArgs.cs
- RepeaterItemCollection.cs
- BaseTemplateBuildProvider.cs
- GeometryDrawing.cs
- CheckPair.cs
- Permission.cs
- HMACRIPEMD160.cs
- RadioButton.cs
- MsmqMessage.cs
- PowerModeChangedEventArgs.cs
- AbstractExpressions.cs
- PackWebRequest.cs
- MethodAccessException.cs
- VisualTreeUtils.cs
- RoutedEvent.cs
- SqlDataSourceCache.cs
- Model3D.cs
- MsmqReceiveParameters.cs
- ValuePatternIdentifiers.cs
- ExpandSegment.cs
- WriteableBitmap.cs
- EFTableProvider.cs
- DeclarativeCatalogPart.cs
- ScopelessEnumAttribute.cs
- GroupByExpressionRewriter.cs
- DataSourceControlBuilder.cs
- HierarchicalDataTemplate.cs
- OlePropertyStructs.cs
- HeaderedItemsControl.cs
- ColorTransform.cs
- MenuItem.cs
- CommandTreeTypeHelper.cs
- ServiceOperation.cs
- hresults.cs
- BaseTemplateCodeDomTreeGenerator.cs
- NativeMethods.cs
- XPathQilFactory.cs
- ResourcePermissionBase.cs
- XamlToRtfWriter.cs
- DragSelectionMessageFilter.cs
- SizeChangedEventArgs.cs
- TreeViewImageIndexConverter.cs
- ToolboxItemFilterAttribute.cs
- XamlWriter.cs
- LowerCaseStringConverter.cs
- NumericExpr.cs
- CodeTypeParameterCollection.cs
- RoutedEventArgs.cs
- ChannelAcceptor.cs
- ConnectionManagementSection.cs
- AdapterUtil.cs
- XmlILOptimizerVisitor.cs
- HttpModule.cs
- HandlerBase.cs
- UnknownWrapper.cs
- PolyQuadraticBezierSegment.cs
- RequestCacheValidator.cs
- ConstNode.cs
- PersonalizationStateQuery.cs
- JumpItem.cs
- DataBoundControlDesigner.cs
- OleDbInfoMessageEvent.cs
- Atom10FeedFormatter.cs
- SharedStatics.cs
- RuntimeHelpers.cs
- VirtualPath.cs
- XsltCompileContext.cs
- InstancePersistenceException.cs