Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- InputBinding.cs
- DesignerVerbCollection.cs
- ImpersonationContext.cs
- Vector3DIndependentAnimationStorage.cs
- DataView.cs
- GridViewUpdateEventArgs.cs
- MailAddress.cs
- HtmlInputHidden.cs
- PropertyItemInternal.cs
- diagnosticsswitches.cs
- DataObjectMethodAttribute.cs
- ToolStripDropDownClosedEventArgs.cs
- arclist.cs
- HtmlInputText.cs
- IPEndPoint.cs
- fixedPageContentExtractor.cs
- ShaderRenderModeValidation.cs
- MeshGeometry3D.cs
- HttpConfigurationContext.cs
- ReliableMessagingVersionConverter.cs
- VisualTransition.cs
- SafeHandles.cs
- ToolStripPanelSelectionBehavior.cs
- CodeIterationStatement.cs
- LocalizedNameDescriptionPair.cs
- BeginEvent.cs
- SrgsItemList.cs
- SqlCacheDependencyDatabase.cs
- Debug.cs
- HttpBufferlessInputStream.cs
- DbTransaction.cs
- AstTree.cs
- arabicshape.cs
- BinaryConverter.cs
- LinkLabel.cs
- PeerChannelListener.cs
- EntityObject.cs
- path.cs
- PackageStore.cs
- GeneratedView.cs
- TransactionContextValidator.cs
- UserPersonalizationStateInfo.cs
- TogglePattern.cs
- DataGridViewColumnHeaderCell.cs
- IOException.cs
- FilterException.cs
- Model3DGroup.cs
- PerfCounters.cs
- Calendar.cs
- TcpConnectionPoolSettings.cs
- PtsHost.cs
- BamlBinaryWriter.cs
- SymbolTable.cs
- dataSvcMapFileLoader.cs
- TickBar.cs
- PointAnimationClockResource.cs
- Animatable.cs
- EnumType.cs
- ResourcePermissionBaseEntry.cs
- MonthCalendar.cs
- EventProviderWriter.cs
- OutputCacheProviderCollection.cs
- XhtmlBasicImageAdapter.cs
- CommonDialog.cs
- UpdatePanel.cs
- HtmlWindow.cs
- ContextMarshalException.cs
- ApplicationServiceManager.cs
- InstanceKeyView.cs
- SqlDataSourceEnumerator.cs
- SqlStream.cs
- RegisteredDisposeScript.cs
- XmlDataImplementation.cs
- EntityDataSourceSelectedEventArgs.cs
- RTLAwareMessageBox.cs
- TextContainer.cs
- GroupBox.cs
- DataBindingHandlerAttribute.cs
- BaseTreeIterator.cs
- SystemDropShadowChrome.cs
- TableCell.cs
- SchemaImporterExtension.cs
- VisualStyleInformation.cs
- IOException.cs
- GeneralTransform3DCollection.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- WebZone.cs
- DesignerSerializerAttribute.cs
- ApplicationSecurityManager.cs
- GenericPrincipal.cs
- WmpBitmapEncoder.cs
- PropertyPathWorker.cs
- TrackingStringDictionary.cs
- ResourceReferenceExpression.cs
- RowUpdatedEventArgs.cs
- DbConnectionFactory.cs
- FontWeights.cs
- ServiceOperation.cs
- WebControlAdapter.cs
- DataTableClearEvent.cs