Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterCancelEvent.cs / 1305376 / 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
- Stack.cs
- InitializerFacet.cs
- SqlConnection.cs
- UnsafeNativeMethods.cs
- DataGridViewColumnCollection.cs
- EdmFunctionAttribute.cs
- _NegoState.cs
- Thumb.cs
- CacheHelper.cs
- HealthMonitoringSection.cs
- HMACSHA512.cs
- UrlPath.cs
- CookielessHelper.cs
- GenericEnumConverter.cs
- ReliabilityContractAttribute.cs
- BlurBitmapEffect.cs
- WebPartConnectVerb.cs
- FixedDocument.cs
- EncoderParameters.cs
- DictionarySurrogate.cs
- mediapermission.cs
- EventLogEntryCollection.cs
- TraceContextEventArgs.cs
- PageThemeParser.cs
- TableLayoutPanelBehavior.cs
- SchemaInfo.cs
- BodyGlyph.cs
- HostExecutionContextManager.cs
- Vertex.cs
- DataServiceProviderMethods.cs
- ActiveDocumentEvent.cs
- CatalogPart.cs
- ParsedRoute.cs
- COM2EnumConverter.cs
- SqlParameter.cs
- ConnectionInterfaceCollection.cs
- AndCondition.cs
- ObjectPropertyMapping.cs
- ExtendedProtectionPolicyElement.cs
- XmlSchemaCollection.cs
- PeerNameRecord.cs
- GestureRecognizer.cs
- DataKey.cs
- __Error.cs
- XmlSchemaSet.cs
- TraceEventCache.cs
- TableAdapterManagerMethodGenerator.cs
- Buffer.cs
- ServiceMemoryGates.cs
- PeerApplicationLaunchInfo.cs
- BinaryConverter.cs
- WsatTransactionInfo.cs
- BinaryObjectInfo.cs
- CapabilitiesRule.cs
- UnionCodeGroup.cs
- EmulateRecognizeCompletedEventArgs.cs
- Stylus.cs
- SchemaComplexType.cs
- PagesChangedEventArgs.cs
- GridViewRowCollection.cs
- BuildProviderAppliesToAttribute.cs
- Image.cs
- TableCellAutomationPeer.cs
- AuthenticationSection.cs
- connectionpool.cs
- ToolBarTray.cs
- RtfToXamlReader.cs
- TcpSocketManager.cs
- StagingAreaInputItem.cs
- DefaultProxySection.cs
- EvidenceBase.cs
- UIElement3D.cs
- TimeSpanValidator.cs
- SourceInterpreter.cs
- AutomationIdentifier.cs
- DataListItem.cs
- WindowsEditBoxRange.cs
- RayMeshGeometry3DHitTestResult.cs
- ServiceHostFactory.cs
- CriticalExceptions.cs
- XamlInt32CollectionSerializer.cs
- ReversePositionQuery.cs
- DictionaryEntry.cs
- CodePropertyReferenceExpression.cs
- ArglessEventHandlerProxy.cs
- CheckBox.cs
- InputProcessorProfiles.cs
- StylesEditorDialog.cs
- WebUtil.cs
- NativeMethods.cs
- Accessors.cs
- SiteMapDataSource.cs
- Constants.cs
- GradientStopCollection.cs
- NameValueConfigurationCollection.cs
- ApplicationId.cs
- DocumentOrderComparer.cs
- InfoCardProofToken.cs
- DataGridViewCellEventArgs.cs
- Transform3DGroup.cs