Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- XmlWrappingWriter.cs
- IProducerConsumerCollection.cs
- TextFormatterContext.cs
- DataGridRowEventArgs.cs
- ModelUIElement3D.cs
- GroupItem.cs
- KeyGesture.cs
- DataGridTableCollection.cs
- ObjectConverter.cs
- XmlCharType.cs
- CaseStatement.cs
- Metafile.cs
- SHA384Managed.cs
- AutomationElementIdentifiers.cs
- TypeBuilderInstantiation.cs
- ConfigXmlAttribute.cs
- InfoCardConstants.cs
- TextViewSelectionProcessor.cs
- RegexParser.cs
- WebPartTracker.cs
- InputScope.cs
- Expander.cs
- TimerEventSubscription.cs
- EntityCollectionChangedParams.cs
- EntityTypeBase.cs
- SqlFileStream.cs
- ResXFileRef.cs
- SecurityContext.cs
- StrokeCollection2.cs
- XmlSchemaObjectCollection.cs
- SByteConverter.cs
- TransactionFlowBindingElementImporter.cs
- ZipIOExtraFieldZip64Element.cs
- MobileListItemCollection.cs
- EntryWrittenEventArgs.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- TraceProvider.cs
- ActivityExecutionWorkItem.cs
- TimeSpan.cs
- SaveWorkflowCommand.cs
- InternalPolicyElement.cs
- GlyphingCache.cs
- LambdaCompiler.cs
- SmtpNetworkElement.cs
- TypeContext.cs
- ImageSource.cs
- Model3D.cs
- InkPresenter.cs
- iisPickupDirectory.cs
- ExpressionDumper.cs
- SymbolPair.cs
- Helpers.cs
- Lookup.cs
- AppSecurityManager.cs
- NativeRightsManagementAPIsStructures.cs
- LineProperties.cs
- SyndicationItem.cs
- UInt64Converter.cs
- PropertyManager.cs
- TypeUsageBuilder.cs
- BufferAllocator.cs
- DataContractSet.cs
- ProfessionalColorTable.cs
- MonitoringDescriptionAttribute.cs
- TopClause.cs
- OutOfProcStateClientManager.cs
- IERequestCache.cs
- DeferredElementTreeState.cs
- Utilities.cs
- ToolTipService.cs
- wgx_sdk_version.cs
- DataGridRow.cs
- MenuItemCollectionEditorDialog.cs
- LinqDataSourceDisposeEventArgs.cs
- OleDbCommand.cs
- EventMappingSettingsCollection.cs
- DbConnectionClosed.cs
- MetadataHelper.cs
- BitmapEffectCollection.cs
- NamespaceTable.cs
- SystemIPGlobalProperties.cs
- RuleEngine.cs
- PropertyGeneratedEventArgs.cs
- wgx_commands.cs
- PropertyTabChangedEvent.cs
- DoubleKeyFrameCollection.cs
- DebuggerAttributes.cs
- BooleanFunctions.cs
- HostingEnvironmentSection.cs
- RemotingServices.cs
- ClrProviderManifest.cs
- FlowLayoutSettings.cs
- ThousandthOfEmRealPoints.cs
- IPHostEntry.cs
- TextRenderingModeValidation.cs
- WebPartEditorCancelVerb.cs
- PreviewPageInfo.cs
- LineUtil.cs
- WeakReferenceList.cs
- ToolStripDropDownClosingEventArgs.cs