Code:
/ FX-1434 / FX-1434 / 1.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
- SqlMethods.cs
- TypefaceMetricsCache.cs
- SelectionHighlightInfo.cs
- ContextMenuStrip.cs
- DynamicMethod.cs
- SimpleLine.cs
- CurrencyWrapper.cs
- NativeStructs.cs
- DefaultAsyncDataDispatcher.cs
- Matrix3DConverter.cs
- WebException.cs
- QuaternionAnimationBase.cs
- PathGradientBrush.cs
- DiscoveryClientOutputChannel.cs
- TableCell.cs
- AppDomainManager.cs
- TextTreePropertyUndoUnit.cs
- SafeNativeMethodsCLR.cs
- ToolStripStatusLabel.cs
- PermissionSetEnumerator.cs
- ToolStripItemClickedEventArgs.cs
- FontUnit.cs
- TransactionalPackage.cs
- TextSearch.cs
- DefinitionBase.cs
- MetadataItem_Static.cs
- DependencyProperty.cs
- PropertyIDSet.cs
- TextWriterEngine.cs
- XmlTextReaderImpl.cs
- BitHelper.cs
- HostedHttpTransportManager.cs
- CompilerTypeWithParams.cs
- GcSettings.cs
- DataControlCommands.cs
- PersonalizableTypeEntry.cs
- WriteTimeStream.cs
- ClientSession.cs
- WpfGeneratedKnownProperties.cs
- recordstatefactory.cs
- UserControlDocumentDesigner.cs
- ThreadExceptionEvent.cs
- RemoteWebConfigurationHostStream.cs
- FrameworkElement.cs
- StretchValidation.cs
- SkewTransform.cs
- GridViewUpdatedEventArgs.cs
- HttpResponseHeader.cs
- SqlDataSourceFilteringEventArgs.cs
- SerialPinChanges.cs
- DataRowComparer.cs
- PersonalizableAttribute.cs
- HostingEnvironment.cs
- XmlAttributeOverrides.cs
- CodeEntryPointMethod.cs
- WeakEventTable.cs
- SystemTcpStatistics.cs
- ListViewDataItem.cs
- TagPrefixAttribute.cs
- UITypeEditor.cs
- _SslState.cs
- SecurityElement.cs
- ExpressionNode.cs
- NativeMethods.cs
- FontCacheUtil.cs
- BrowserTree.cs
- BitmapDownload.cs
- ChildChangedEventArgs.cs
- WpfXamlLoader.cs
- ModelItemKeyValuePair.cs
- CookieHandler.cs
- TypedAsyncResult.cs
- InfoCardProofToken.cs
- WindowsTreeView.cs
- SplineQuaternionKeyFrame.cs
- dataobject.cs
- DataGridTextBox.cs
- RunInstallerAttribute.cs
- SessionPageStatePersister.cs
- Typography.cs
- CachedRequestParams.cs
- EventProperty.cs
- ProfileParameter.cs
- FormParameter.cs
- ArgumentsParser.cs
- ToolStripContainerDesigner.cs
- FileSystemEnumerable.cs
- ActivityWithResult.cs
- XmlNamedNodeMap.cs
- DatePickerDateValidationErrorEventArgs.cs
- TextTreeInsertElementUndoUnit.cs
- PeerNameRecordCollection.cs
- CodeMemberEvent.cs
- MaskedTextBox.cs
- ActiveXContainer.cs
- EventItfInfo.cs
- TextContainerHelper.cs
- SortFieldComparer.cs
- CaseStatement.cs
- ThreadStateException.cs