Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterCancelEvent.cs / 1 / SplitterCancelEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// public class SplitterCancelEventArgs : CancelEventArgs { private readonly int mouseCursorX; private readonly int mouseCursorY; private int splitX; private int splitY; ////// Provides data for splitter events. /// ////// /// public SplitterCancelEventArgs(int mouseCursorX, int mouseCursorY, int splitX, int splitY) : base (false) { this.mouseCursorX = mouseCursorX; this.mouseCursorY = mouseCursorY; this.splitX = splitX; this.splitY = splitY; } ////// Initializes an instance of the ///class with the specified coordinates /// of the mouse pointer and the upper-left corner of the . /// /// /// public int MouseCursorX { get { return mouseCursorX; } } ////// Gets the x-coordinate of the /// mouse pointer (in client coordinates). /// ////// /// public int MouseCursorY { get { return mouseCursorY; } } ////// Gets the y-coordinate of the mouse pointer (in /// client coordinates). /// ////// /// public int SplitX { get { return splitX; } set { splitX = value; } } ////// Gets the x-coordinate of the /// upper-left corner of the ///(in client coordinates). /// /// /// public int SplitY { get { return splitY; } set { splitY = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets the y-coordinate of the upper-left corner of the ///(in client coordinates). /// // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// public class SplitterCancelEventArgs : CancelEventArgs { private readonly int mouseCursorX; private readonly int mouseCursorY; private int splitX; private int splitY; ////// Provides data for splitter events. /// ////// /// public SplitterCancelEventArgs(int mouseCursorX, int mouseCursorY, int splitX, int splitY) : base (false) { this.mouseCursorX = mouseCursorX; this.mouseCursorY = mouseCursorY; this.splitX = splitX; this.splitY = splitY; } ////// Initializes an instance of the ///class with the specified coordinates /// of the mouse pointer and the upper-left corner of the . /// /// /// public int MouseCursorX { get { return mouseCursorX; } } ////// Gets the x-coordinate of the /// mouse pointer (in client coordinates). /// ////// /// public int MouseCursorY { get { return mouseCursorY; } } ////// Gets the y-coordinate of the mouse pointer (in /// client coordinates). /// ////// /// public int SplitX { get { return splitX; } set { splitX = value; } } ////// Gets the x-coordinate of the /// upper-left corner of the ///(in client coordinates). /// /// /// public int SplitY { get { return splitY; } set { splitY = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets the y-coordinate of the upper-left corner of the ///(in client coordinates). ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NotImplementedException.cs
- ViewStateException.cs
- CustomAttributeFormatException.cs
- DSASignatureDeformatter.cs
- PerfCounters.cs
- AttributeCallbackBuilder.cs
- XmlParserContext.cs
- TextRange.cs
- HashAlgorithm.cs
- basevalidator.cs
- ControllableStoryboardAction.cs
- BamlRecordHelper.cs
- SecurityContextKeyIdentifierClause.cs
- StateManagedCollection.cs
- ReferencedCollectionType.cs
- ToolboxItemFilterAttribute.cs
- WebBodyFormatMessageProperty.cs
- LookupNode.cs
- FrameworkRichTextComposition.cs
- ToolStripItemImageRenderEventArgs.cs
- MenuItemCollection.cs
- StatusBarItemAutomationPeer.cs
- WorkflowInstanceProxy.cs
- BezierSegment.cs
- XmlSortKey.cs
- SchemaConstraints.cs
- ManagementNamedValueCollection.cs
- Vector3DAnimation.cs
- NullExtension.cs
- VarRefManager.cs
- XmlSchemaComplexContentExtension.cs
- HttpResponseInternalWrapper.cs
- SafeViewOfFileHandle.cs
- DataGridViewComboBoxColumn.cs
- OleDbRowUpdatedEvent.cs
- FormatSettings.cs
- ProxySimple.cs
- ServiceHostingEnvironment.cs
- HMACSHA384.cs
- EventEntry.cs
- PropertyManager.cs
- ToolboxCategoryItems.cs
- Single.cs
- LogLogRecord.cs
- Form.cs
- BindingExpressionUncommonField.cs
- FormViewPageEventArgs.cs
- SecurityBindingElementImporter.cs
- ServiceModelReg.cs
- SmiEventSink_Default.cs
- WizardStepBase.cs
- DataGridViewCell.cs
- ManifestSignedXml.cs
- WindowHideOrCloseTracker.cs
- Executor.cs
- RSACryptoServiceProvider.cs
- GeneralTransform2DTo3D.cs
- RectAnimation.cs
- SimpleHandlerFactory.cs
- PropertyMetadata.cs
- PropertyTab.cs
- ExpressionContext.cs
- StorageTypeMapping.cs
- _HelperAsyncResults.cs
- EmptyCollection.cs
- DataSourceXmlTextReader.cs
- ColumnWidthChangingEvent.cs
- DataGridViewControlCollection.cs
- TemplateApplicationHelper.cs
- EntryWrittenEventArgs.cs
- ServiceMetadataPublishingElement.cs
- SqlXmlStorage.cs
- RegistrationServices.cs
- DataGridViewSortCompareEventArgs.cs
- DataGridTableCollection.cs
- SqlException.cs
- LayoutInformation.cs
- TemplateAction.cs
- SHA384.cs
- DataBoundControlAdapter.cs
- SqlVisitor.cs
- FileSystemEventArgs.cs
- HashCodeCombiner.cs
- PartBasedPackageProperties.cs
- CursorInteropHelper.cs
- Point3DCollection.cs
- ItemType.cs
- TemplateBindingExpression.cs
- PolicyReader.cs
- WebPartUtil.cs
- HttpAsyncResult.cs
- SecurityKeyEntropyMode.cs
- TextCharacters.cs
- RadioButtonBaseAdapter.cs
- CurrentChangingEventManager.cs
- ConcurrencyBehavior.cs
- TCEAdapterGenerator.cs
- XmlAttributes.cs
- ContractNamespaceAttribute.cs
- DtrList.cs