Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- NullableLongSumAggregationOperator.cs
- AssemblyBuilder.cs
- VideoDrawing.cs
- PageContentAsyncResult.cs
- XmlSchemaInfo.cs
- SQLInt16Storage.cs
- AssemblyResourceLoader.cs
- CalloutQueueItem.cs
- ShapingEngine.cs
- MethodSignatureGenerator.cs
- TextElementCollection.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- BroadcastEventHelper.cs
- DomainUpDown.cs
- TypeBinaryExpression.cs
- RichTextBoxAutomationPeer.cs
- LoopExpression.cs
- SafePEFileHandle.cs
- handlecollector.cs
- ConfigXmlCDataSection.cs
- KeyNotFoundException.cs
- ADMembershipProvider.cs
- TrustLevel.cs
- TextRunCache.cs
- ContractValidationHelper.cs
- RichTextBox.cs
- IndicFontClient.cs
- SourceInterpreter.cs
- StyleSelector.cs
- RadialGradientBrush.cs
- GenerateTemporaryTargetAssembly.cs
- OdbcDataAdapter.cs
- TaskResultSetter.cs
- ExtensibleClassFactory.cs
- GreenMethods.cs
- ProtocolViolationException.cs
- InstanceView.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- HtmlUtf8RawTextWriter.cs
- CodeGenerator.cs
- StreamWriter.cs
- TableLayoutStyle.cs
- HttpGetClientProtocol.cs
- SiteMapProvider.cs
- BrowserCapabilitiesCompiler.cs
- PeerInvitationResponse.cs
- MeasureData.cs
- ThreadExceptionEvent.cs
- SelectionProcessor.cs
- RewritingSimplifier.cs
- BypassElementCollection.cs
- QuadraticBezierSegment.cs
- TypeDescriptionProvider.cs
- DbProviderFactory.cs
- RestClientProxyHandler.cs
- SystemTcpStatistics.cs
- _HeaderInfo.cs
- SafeArrayRankMismatchException.cs
- RangeValueProviderWrapper.cs
- ScriptManagerProxy.cs
- HtmlInputCheckBox.cs
- JournalNavigationScope.cs
- DataContractAttribute.cs
- FieldInfo.cs
- IgnoreSection.cs
- InputElement.cs
- Attributes.cs
- LexicalChunk.cs
- InputMethodStateTypeInfo.cs
- Line.cs
- Deflater.cs
- ActivityBindForm.Designer.cs
- HtmlControlPersistable.cs
- ComboBoxRenderer.cs
- StringTraceRecord.cs
- HotSpot.cs
- SafeCertificateContext.cs
- Matrix.cs
- StateBag.cs
- Hash.cs
- QilParameter.cs
- LockRecoveryTask.cs
- Model3D.cs
- PerformanceCounterLib.cs
- DataGridItemAutomationPeer.cs
- AutomationPatternInfo.cs
- SamlAuthenticationClaimResource.cs
- RequestCacheEntry.cs
- SetUserLanguageRequest.cs
- TiffBitmapDecoder.cs
- XmlWrappingWriter.cs
- CmsInterop.cs
- ConstructorBuilder.cs
- SessionStateContainer.cs
- ObjectQueryState.cs
- RuntimeHandles.cs
- _NestedSingleAsyncResult.cs
- ImageConverter.cs
- XPathSingletonIterator.cs
- RandomNumberGenerator.cs