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
- FileReservationCollection.cs
- Underline.cs
- ImportContext.cs
- RandomNumberGenerator.cs
- AssemblyUtil.cs
- SafeTimerHandle.cs
- ProviderCollection.cs
- DelayedRegex.cs
- webclient.cs
- Boolean.cs
- DataException.cs
- TokenBasedSet.cs
- DiagnosticSection.cs
- ToolCreatedEventArgs.cs
- ISCIIEncoding.cs
- DataGridViewComboBoxEditingControl.cs
- LiteralControl.cs
- X509WindowsSecurityToken.cs
- ImplicitInputBrush.cs
- DesignerGeometryHelper.cs
- EventLogEntry.cs
- shaperfactory.cs
- mactripleDES.cs
- LayoutManager.cs
- NestedContainer.cs
- MenuAutomationPeer.cs
- Matrix3DValueSerializer.cs
- XamlSerializationHelper.cs
- TableProviderWrapper.cs
- SpeechDetectedEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- SByteStorage.cs
- XmlSchemaComplexType.cs
- WebServiceData.cs
- RtfControls.cs
- ControlCollection.cs
- XmlWrappingReader.cs
- CodeTypeConstructor.cs
- WmpBitmapEncoder.cs
- TokenizerHelper.cs
- Axis.cs
- PrintDialogException.cs
- NullReferenceException.cs
- PropertyChange.cs
- FrameworkRichTextComposition.cs
- FormsAuthenticationEventArgs.cs
- FlowDocumentPageViewerAutomationPeer.cs
- CodeParameterDeclarationExpressionCollection.cs
- TimeSpanFormat.cs
- FrameworkName.cs
- FocusChangedEventArgs.cs
- ResetableIterator.cs
- DiagnosticsConfigurationHandler.cs
- Rotation3D.cs
- PathData.cs
- Polyline.cs
- ColorMatrix.cs
- MultiPropertyDescriptorGridEntry.cs
- PackWebRequest.cs
- UpdateManifestForBrowserApplication.cs
- CultureInfoConverter.cs
- AffineTransform3D.cs
- ProbeMatchesMessage11.cs
- GridViewCommandEventArgs.cs
- CompositeDataBoundControl.cs
- AssociatedControlConverter.cs
- Parsers.cs
- SelectedGridItemChangedEvent.cs
- FaultContractAttribute.cs
- Ipv6Element.cs
- InstanceLockException.cs
- LayoutEngine.cs
- AttachedPropertyMethodSelector.cs
- ValidationErrorEventArgs.cs
- OrderedHashRepartitionEnumerator.cs
- OdbcConnectionStringbuilder.cs
- PaintValueEventArgs.cs
- WorkflowInstanceExtensionCollection.cs
- HyperLink.cs
- AuthenticateEventArgs.cs
- StringPropertyBuilder.cs
- ConstantExpression.cs
- WebRequestModuleElement.cs
- LogArchiveSnapshot.cs
- XmlConverter.cs
- CanExecuteRoutedEventArgs.cs
- CheckedListBox.cs
- Stack.cs
- PrivateFontCollection.cs
- DefaultHttpHandler.cs
- OdbcConnectionHandle.cs
- InkCanvasFeedbackAdorner.cs
- SAPIEngineTypes.cs
- TemplateParser.cs
- HelloMessage11.cs
- ByteArrayHelperWithString.cs
- XPathNodeHelper.cs
- WorkflowNamespace.cs
- CodeTypeOfExpression.cs
- XmlSchemaComplexContentExtension.cs