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
- WindowsUpDown.cs
- CqlErrorHelper.cs
- VisualStateChangedEventArgs.cs
- _SingleItemRequestCache.cs
- CompositionDesigner.cs
- RawStylusInputCustomDataList.cs
- OverlappedContext.cs
- DataGridViewRowEventArgs.cs
- FrameworkRichTextComposition.cs
- ConnectionManagementElementCollection.cs
- ProxyWebPartManager.cs
- Pkcs7Recipient.cs
- PageThemeCodeDomTreeGenerator.cs
- BitmapMetadataEnumerator.cs
- PermissionSetTriple.cs
- ServiceNameCollection.cs
- ProtectedConfigurationSection.cs
- ControllableStoryboardAction.cs
- TextChangedEventArgs.cs
- MessageEncoderFactory.cs
- IDispatchConstantAttribute.cs
- StringAnimationBase.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- DocumentPage.cs
- XmlReflectionMember.cs
- OciHandle.cs
- XmlAttributeCache.cs
- DiagnosticStrings.cs
- QueryCacheManager.cs
- Int64KeyFrameCollection.cs
- MetabaseServerConfig.cs
- _NegotiateClient.cs
- WindowsTreeView.cs
- RuleSettingsCollection.cs
- SqlRewriteScalarSubqueries.cs
- SubMenuStyle.cs
- SqlError.cs
- GatewayIPAddressInformationCollection.cs
- ResumeStoryboard.cs
- DefaultValueConverter.cs
- WhiteSpaceTrimStringConverter.cs
- SmtpFailedRecipientsException.cs
- WeakReferenceKey.cs
- ExeContext.cs
- KoreanLunisolarCalendar.cs
- AssociationTypeEmitter.cs
- ClientType.cs
- Int64Converter.cs
- ClockGroup.cs
- BooleanKeyFrameCollection.cs
- MenuItemStyleCollectionEditor.cs
- DataGridTable.cs
- PropertyDescriptorGridEntry.cs
- FormViewInsertedEventArgs.cs
- regiisutil.cs
- BufferedReceiveElement.cs
- BitmapEffectRenderDataResource.cs
- Vector3DCollectionConverter.cs
- TrustLevelCollection.cs
- InProcStateClientManager.cs
- AsyncPostBackTrigger.cs
- ListViewGroupCollectionEditor.cs
- MemberPathMap.cs
- HierarchicalDataBoundControlAdapter.cs
- SQLByte.cs
- DbConnectionHelper.cs
- XamlClipboardData.cs
- PersonalizationProvider.cs
- SafeNativeMethodsOther.cs
- _RegBlobWebProxyDataBuilder.cs
- Parameter.cs
- DocumentDesigner.cs
- XmlWhitespace.cs
- MediaElement.cs
- prompt.cs
- ButtonPopupAdapter.cs
- NodeInfo.cs
- SQLBytes.cs
- LinqDataSourceContextEventArgs.cs
- PersonalizationStateQuery.cs
- PropertyTabAttribute.cs
- PermissionRequestEvidence.cs
- DecoderExceptionFallback.cs
- Border.cs
- Token.cs
- ReliableOutputSessionChannel.cs
- ManagementObjectSearcher.cs
- ServiceOperation.cs
- QuaternionAnimationBase.cs
- EncryptedPackage.cs
- DescendentsWalkerBase.cs
- QilTargetType.cs
- UpdateProgress.cs
- TextBoxView.cs
- RotateTransform3D.cs
- StylusPlugin.cs
- Internal.cs
- MasterPageCodeDomTreeGenerator.cs
- XhtmlConformanceSection.cs
- WebServiceFaultDesigner.cs