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
- VectorAnimationUsingKeyFrames.cs
- ActivityDelegate.cs
- SettingsBindableAttribute.cs
- Interop.cs
- EventLogPermissionEntry.cs
- CommandManager.cs
- EnumConverter.cs
- BitmapImage.cs
- DesignerTransactionCloseEvent.cs
- AssemblyHash.cs
- StringResourceManager.cs
- TickBar.cs
- SmtpAuthenticationManager.cs
- DataGridViewLinkCell.cs
- AuthorizationPolicyTypeElement.cs
- MouseWheelEventArgs.cs
- EntityDataSourceChangedEventArgs.cs
- TraceListeners.cs
- HtmlCalendarAdapter.cs
- DashStyle.cs
- COM2PropertyPageUITypeConverter.cs
- ObjectResult.cs
- ObjectItemAttributeAssemblyLoader.cs
- ListDictionary.cs
- Behavior.cs
- Translator.cs
- SQLDouble.cs
- XmlNavigatorStack.cs
- MetadataCache.cs
- CustomWebEventKey.cs
- PieceDirectory.cs
- ActivityStatusChangeEventArgs.cs
- Boolean.cs
- __Filters.cs
- QueryExpr.cs
- __ComObject.cs
- DependencyPropertyValueSerializer.cs
- formatter.cs
- QilChoice.cs
- LinqDataView.cs
- RangeValuePatternIdentifiers.cs
- StringDictionaryEditor.cs
- SystemResources.cs
- AppendHelper.cs
- DataGridViewCellStateChangedEventArgs.cs
- Deflater.cs
- ControlsConfig.cs
- MetadataAssemblyHelper.cs
- XPathDocument.cs
- DeleteHelper.cs
- ServiceEndpointCollection.cs
- ContextMarshalException.cs
- BooleanAnimationBase.cs
- SerialPort.cs
- LookupBindingPropertiesAttribute.cs
- InvokeProviderWrapper.cs
- MimeTypeMapper.cs
- CodeObjectCreateExpression.cs
- WebEventCodes.cs
- CompilerGeneratedAttribute.cs
- PolicyStatement.cs
- XmlStringTable.cs
- WebSysDescriptionAttribute.cs
- _NegoState.cs
- XamlTreeBuilderBamlRecordWriter.cs
- ObjectContextServiceProvider.cs
- WebRequest.cs
- ActiveXContainer.cs
- Subordinate.cs
- SimpleApplicationHost.cs
- InvalidStoreProtectionKeyException.cs
- FaultCallbackWrapper.cs
- EdmProviderManifest.cs
- PolicyFactory.cs
- HMACMD5.cs
- DecoderReplacementFallback.cs
- Main.cs
- SqlException.cs
- CommandBindingCollection.cs
- ServiceDescriptions.cs
- StaticSiteMapProvider.cs
- BulletChrome.cs
- FeedUtils.cs
- PropertiesTab.cs
- Ipv6Element.cs
- UInt16Storage.cs
- CriticalFinalizerObject.cs
- ConvertBinder.cs
- XmlSerializerVersionAttribute.cs
- HyperLink.cs
- XLinq.cs
- ResourceDisplayNameAttribute.cs
- ClientScriptManager.cs
- ConvertTextFrag.cs
- SQLMoney.cs
- EntityDataSourceView.cs
- SqlClientPermission.cs
- CompiledQueryCacheEntry.cs
- SpoolingTask.cs
- DataGridSortCommandEventArgs.cs