Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SignedPkcs7.cs
- IPEndPoint.cs
- RIPEMD160Managed.cs
- odbcmetadatacolumnnames.cs
- FacetChecker.cs
- EdmFunction.cs
- QueryStringHandler.cs
- HtmlTable.cs
- IPAddressCollection.cs
- TextProviderWrapper.cs
- DesignerOptionService.cs
- CollectionContainer.cs
- HandleTable.cs
- UnicastIPAddressInformationCollection.cs
- Exception.cs
- Point3DAnimation.cs
- ClientFormsAuthenticationMembershipProvider.cs
- WebSysDisplayNameAttribute.cs
- TagPrefixInfo.cs
- SerializableTypeCodeDomSerializer.cs
- ButtonBaseDesigner.cs
- GenericsInstances.cs
- TypedMessageConverter.cs
- JulianCalendar.cs
- SBCSCodePageEncoding.cs
- TableItemStyle.cs
- SystemTcpConnection.cs
- BrushMappingModeValidation.cs
- GeneralTransform.cs
- PointAnimationBase.cs
- CreatingCookieEventArgs.cs
- Vector3DCollection.cs
- StackSpiller.cs
- ClientOptions.cs
- CharacterBuffer.cs
- ServiceDesigner.xaml.cs
- _DisconnectOverlappedAsyncResult.cs
- HtmlPageAdapter.cs
- SqlError.cs
- HitTestDrawingContextWalker.cs
- EditorAttribute.cs
- StoragePropertyMapping.cs
- ProviderUtil.cs
- SqlCacheDependencyDatabaseCollection.cs
- TextEditorContextMenu.cs
- TabControlToolboxItem.cs
- BaseCollection.cs
- RelativeSource.cs
- QilInvoke.cs
- SurrogateEncoder.cs
- ClientBuildManagerCallback.cs
- MultiByteCodec.cs
- DataGridHeaderBorder.cs
- LocalizedNameDescriptionPair.cs
- LineServicesRun.cs
- TrustManagerPromptUI.cs
- ViewSimplifier.cs
- CompilerInfo.cs
- ClientData.cs
- UnionExpr.cs
- AnnotationComponentChooser.cs
- PermissionAttributes.cs
- IgnoreFileBuildProvider.cs
- Compiler.cs
- AssemblyResolver.cs
- CompilerTypeWithParams.cs
- SqlTypesSchemaImporter.cs
- DataSourceXmlSerializer.cs
- PassportAuthentication.cs
- ColorAnimation.cs
- RSACryptoServiceProvider.cs
- LogEntryHeaderDeserializer.cs
- GeneralTransform3DGroup.cs
- DataColumnMapping.cs
- DeferredReference.cs
- Geometry.cs
- TextRangeBase.cs
- Msec.cs
- XmlNamedNodeMap.cs
- RectValueSerializer.cs
- ParameterElementCollection.cs
- translator.cs
- FontFamily.cs
- ScriptHandlerFactory.cs
- ResourceManagerWrapper.cs
- StatusBar.cs
- ClockGroup.cs
- BaseParaClient.cs
- StickyNoteHelper.cs
- EntityProviderFactory.cs
- NumericUpDownAcceleration.cs
- RepeaterItemEventArgs.cs
- LinqDataSourceSelectEventArgs.cs
- State.cs
- BinaryReader.cs
- PriorityQueue.cs
- WindowsFormsSectionHandler.cs
- RawKeyboardInputReport.cs
- _UncName.cs
- SqlBooleanMismatchVisitor.cs