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
- TdsValueSetter.cs
- _HelperAsyncResults.cs
- StylusPointPropertyInfoDefaults.cs
- TableItemStyle.cs
- CategoryEditor.cs
- Activity.cs
- WizardSideBarListControlItemEventArgs.cs
- TemplatePartAttribute.cs
- messageonlyhwndwrapper.cs
- OptimisticConcurrencyException.cs
- SrgsSemanticInterpretationTag.cs
- DependencyPropertyHelper.cs
- RegexRunner.cs
- ObjectDataSourceDisposingEventArgs.cs
- HierarchicalDataBoundControl.cs
- BaseComponentEditor.cs
- GregorianCalendarHelper.cs
- DatagridviewDisplayedBandsData.cs
- SettingsAttributeDictionary.cs
- Size.cs
- ItemChangedEventArgs.cs
- ButtonDesigner.cs
- DupHandleConnectionReader.cs
- FamilyMapCollection.cs
- AssemblyHash.cs
- FormViewRow.cs
- AdornedElementPlaceholder.cs
- SingleObjectCollection.cs
- SafeViewOfFileHandle.cs
- UserNameSecurityTokenAuthenticator.cs
- IDReferencePropertyAttribute.cs
- XmlQuerySequence.cs
- ReflectTypeDescriptionProvider.cs
- FormattedTextSymbols.cs
- InputLanguageSource.cs
- SmtpLoginAuthenticationModule.cs
- StateValidator.cs
- Solver.cs
- TraceUtils.cs
- FormsAuthenticationTicket.cs
- FontNamesConverter.cs
- EncoderFallback.cs
- InvalidEnumArgumentException.cs
- MailSettingsSection.cs
- RegexGroup.cs
- DoubleAverageAggregationOperator.cs
- ColumnClickEvent.cs
- SplitterEvent.cs
- XmlObjectSerializer.cs
- SequentialOutput.cs
- TextMarkerSource.cs
- RepeaterDataBoundAdapter.cs
- AssociationSet.cs
- EdmMember.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- MessageFormatterConverter.cs
- CancellationState.cs
- BridgeDataReader.cs
- PersistenceTypeAttribute.cs
- FamilyCollection.cs
- RangeValuePattern.cs
- CodeDefaultValueExpression.cs
- OdbcInfoMessageEvent.cs
- DoubleLinkListEnumerator.cs
- CompositeScriptReferenceEventArgs.cs
- DeploymentSection.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- CodeTypeParameterCollection.cs
- Events.cs
- SerializationTrace.cs
- FontStretchConverter.cs
- Point3DCollectionConverter.cs
- InternalDispatchObject.cs
- SafeProcessHandle.cs
- IncrementalCompileAnalyzer.cs
- SafeSecurityHelper.cs
- WCFServiceClientProxyGenerator.cs
- ProtocolsSection.cs
- InnerItemCollectionView.cs
- FixedFindEngine.cs
- SoapIgnoreAttribute.cs
- VariantWrapper.cs
- UrlAuthorizationModule.cs
- ActivityCollectionMarkupSerializer.cs
- Identity.cs
- RepeatButtonAutomationPeer.cs
- IndentedTextWriter.cs
- GPPOINTF.cs
- CategoryAttribute.cs
- ActivitySurrogate.cs
- TypedAsyncResult.cs
- TextFormatterContext.cs
- IgnoreDataMemberAttribute.cs
- EntityDataReader.cs
- ListParaClient.cs
- DTCTransactionManager.cs
- CellParagraph.cs
- CustomErrorCollection.cs
- PackageProperties.cs
- CookielessHelper.cs