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
- SafeNativeMethods.cs
- DataViewManager.cs
- DiagnosticTraceSource.cs
- LockRecoveryTask.cs
- GradientStopCollection.cs
- LookupNode.cs
- ValidatedControlConverter.cs
- DoubleAnimation.cs
- DragStartedEventArgs.cs
- DictionaryKeyPropertyAttribute.cs
- HttpRawResponse.cs
- SafeEventHandle.cs
- FacetDescriptionElement.cs
- CfgParser.cs
- ConsumerConnectionPointCollection.cs
- RandomNumberGenerator.cs
- RequiredFieldValidator.cs
- OleDbConnection.cs
- CodeDirectiveCollection.cs
- dsa.cs
- XmlCharacterData.cs
- ValidatingReaderNodeData.cs
- HttpWebResponse.cs
- DataGridViewImageColumn.cs
- assertwrapper.cs
- KeyValueSerializer.cs
- PropertyMap.cs
- CommonDialog.cs
- XpsTokenContext.cs
- DataGridTextBoxColumn.cs
- PeerObject.cs
- PrivilegeNotHeldException.cs
- Int16Converter.cs
- FileNotFoundException.cs
- WinFormsSecurity.cs
- WindowsIdentity.cs
- DateBoldEvent.cs
- OleDbConnectionInternal.cs
- GridViewColumnCollectionChangedEventArgs.cs
- BinaryNegotiation.cs
- ScrollContentPresenter.cs
- RowToFieldTransformer.cs
- XappLauncher.cs
- FormViewInsertedEventArgs.cs
- ContextQuery.cs
- XmlSchemaGroupRef.cs
- DataGridViewElement.cs
- ContextQuery.cs
- CompiledELinqQueryState.cs
- PassportIdentity.cs
- ListViewSortEventArgs.cs
- CapabilitiesSection.cs
- Oci.cs
- PartialArray.cs
- ScaleTransform3D.cs
- ConnectionConsumerAttribute.cs
- CustomCredentialPolicy.cs
- StickyNote.cs
- ExceptionHelpers.cs
- TrackingMemoryStream.cs
- Delegate.cs
- ExtensionQuery.cs
- ConstraintStruct.cs
- SingleConverter.cs
- DataRelationPropertyDescriptor.cs
- FixedFindEngine.cs
- WebPartConnectionsCloseVerb.cs
- DataServiceConfiguration.cs
- TabRenderer.cs
- EntityKeyElement.cs
- LongAverageAggregationOperator.cs
- HierarchicalDataSourceDesigner.cs
- Avt.cs
- XmlMtomReader.cs
- OdbcErrorCollection.cs
- DateTimeSerializationSection.cs
- ZoneIdentityPermission.cs
- SerialPort.cs
- ProfileProvider.cs
- Attributes.cs
- DiscoveryClientReferences.cs
- Run.cs
- ScriptMethodAttribute.cs
- EqualityComparer.cs
- BinaryOperationBinder.cs
- MailAddressParser.cs
- EmptyQuery.cs
- LinearGradientBrush.cs
- PrintPageEvent.cs
- FieldAccessException.cs
- OrderedParallelQuery.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ConstNode.cs
- CorrelationExtension.cs
- PageCache.cs
- TemplatedMailWebEventProvider.cs
- NextPreviousPagerField.cs
- SmtpNtlmAuthenticationModule.cs
- InstanceNormalEvent.cs
- Dynamic.cs