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
- ProfileParameter.cs
- ToolStripDropDownClosingEventArgs.cs
- PageRanges.cs
- MemberInfoSerializationHolder.cs
- ChooseAction.cs
- DeviceOverridableAttribute.cs
- ActivityDesigner.cs
- MemberAccessException.cs
- PerformanceCounterLib.cs
- XamlParser.cs
- LabelEditEvent.cs
- XmlWrappingWriter.cs
- ConditionValidator.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- MexNamedPipeBindingElement.cs
- newinstructionaction.cs
- ScriptManagerProxy.cs
- EntityDataSourceChangingEventArgs.cs
- DesignTimeParseData.cs
- MemberCollection.cs
- EvidenceBase.cs
- QuaternionAnimationBase.cs
- MruCache.cs
- HttpWriter.cs
- GraphicsContainer.cs
- DependencyPropertyChangedEventArgs.cs
- GenericPrincipal.cs
- HtmlInputPassword.cs
- SizeFConverter.cs
- WebPartTransformerAttribute.cs
- FileRegion.cs
- BitFlagsGenerator.cs
- ToolStripDropDownMenu.cs
- ContainerParaClient.cs
- EventSourceCreationData.cs
- FragmentNavigationEventArgs.cs
- MenuItemCollection.cs
- CustomTypeDescriptor.cs
- DatePickerAutomationPeer.cs
- HtmlTextArea.cs
- AxImporter.cs
- FixUp.cs
- Preprocessor.cs
- SqlErrorCollection.cs
- BlockExpression.cs
- SessionConnectionReader.cs
- SpellCheck.cs
- basecomparevalidator.cs
- SafeViewOfFileHandle.cs
- EntityCommandExecutionException.cs
- RuntimeEnvironment.cs
- Tracer.cs
- DecodeHelper.cs
- Bitmap.cs
- ExpandedWrapper.cs
- SizeChangedInfo.cs
- IODescriptionAttribute.cs
- GridPatternIdentifiers.cs
- MemoryMappedFile.cs
- AdornerHitTestResult.cs
- OracleBoolean.cs
- InternalException.cs
- AnnotationResourceChangedEventArgs.cs
- SerialReceived.cs
- ParenExpr.cs
- Trace.cs
- DataMemberListEditor.cs
- DataGridItemCollection.cs
- SQLDateTime.cs
- UidManager.cs
- RadioButton.cs
- EncoderReplacementFallback.cs
- VarInfo.cs
- Helpers.cs
- SafeHandle.cs
- XPathScanner.cs
- DynamicResourceExtensionConverter.cs
- RoutedEventConverter.cs
- CompiledIdentityConstraint.cs
- WebPartVerb.cs
- UpDownBaseDesigner.cs
- NativeObjectSecurity.cs
- ClientCultureInfo.cs
- SoapHeader.cs
- SerializationFieldInfo.cs
- GeometryDrawing.cs
- ClientConfigPaths.cs
- Variant.cs
- PropertyCondition.cs
- ArgIterator.cs
- XmlAtomicValue.cs
- RectAnimation.cs
- FormParameter.cs
- AssociationTypeEmitter.cs
- FontUnit.cs
- CreateCardRequest.cs
- ContentPlaceHolder.cs
- TextDecorationCollectionConverter.cs
- StringResourceManager.cs
- LicFileLicenseProvider.cs