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
- Compiler.cs
- JavaScriptObjectDeserializer.cs
- EncoderNLS.cs
- OleDbPropertySetGuid.cs
- BamlLocalizationDictionary.cs
- EventManager.cs
- TextSchema.cs
- VisualTreeUtils.cs
- precedingquery.cs
- WindowsFormsHostPropertyMap.cs
- HttpListener.cs
- FilteredAttributeCollection.cs
- ThemeDictionaryExtension.cs
- RequestQueue.cs
- PropertyOverridesTypeEditor.cs
- DataObject.cs
- DataGridViewCellCancelEventArgs.cs
- Vector3DIndependentAnimationStorage.cs
- WebInvokeAttribute.cs
- Sql8ConformanceChecker.cs
- DataGridViewColumnHeaderCell.cs
- SwitchLevelAttribute.cs
- XmlIncludeAttribute.cs
- ExtensionSimplifierMarkupObject.cs
- PtsHost.cs
- PatternMatchRules.cs
- DSASignatureFormatter.cs
- SimpleBitVector32.cs
- ToolStripItemCollection.cs
- DataSourceExpressionCollection.cs
- SpecularMaterial.cs
- ToolStripStatusLabel.cs
- SystemIPGlobalProperties.cs
- AnnotationStore.cs
- ArglessEventHandlerProxy.cs
- InternalDuplexBindingElement.cs
- WorkflowServiceBehavior.cs
- ToolStripArrowRenderEventArgs.cs
- SqlProfileProvider.cs
- KnownBoxes.cs
- _LoggingObject.cs
- EmulateRecognizeCompletedEventArgs.cs
- DataGridPreparingCellForEditEventArgs.cs
- WorkflowDesignerColors.cs
- Accessible.cs
- QueryInterceptorAttribute.cs
- MultiTrigger.cs
- InputEventArgs.cs
- RouteItem.cs
- DataRecord.cs
- NativeMethods.cs
- StoragePropertyMapping.cs
- Pkcs9Attribute.cs
- ListenerElementsCollection.cs
- WebScriptMetadataFormatter.cs
- OptionUsage.cs
- Convert.cs
- DataKeyArray.cs
- FastEncoder.cs
- OdbcUtils.cs
- DataTablePropertyDescriptor.cs
- TextTreeUndo.cs
- CodeValidator.cs
- TraceContextRecord.cs
- ListViewDataItem.cs
- XPathDocument.cs
- ValidationHelpers.cs
- IsolatedStorageFilePermission.cs
- DataColumn.cs
- MappingMetadataHelper.cs
- MissingManifestResourceException.cs
- FastEncoder.cs
- Expression.cs
- WmlFormAdapter.cs
- AttributeData.cs
- XpsS0ValidatingLoader.cs
- SqlLiftIndependentRowExpressions.cs
- PackageFilter.cs
- UserControlParser.cs
- TextBoxRenderer.cs
- X509CertificateCollection.cs
- PersistenceMetadataNamespace.cs
- SqlProcedureAttribute.cs
- TraceUtility.cs
- ExtendLockAsyncResult.cs
- odbcmetadatacollectionnames.cs
- NamedPipeActivation.cs
- TraceShell.cs
- FtpCachePolicyElement.cs
- StringSorter.cs
- ConfigurationSectionGroup.cs
- SparseMemoryStream.cs
- OleDbRowUpdatedEvent.cs
- SmtpClient.cs
- ReferencedAssembly.cs
- QuestionEventArgs.cs
- followingsibling.cs
- BamlRecordHelper.cs
- PackageRelationshipSelector.cs
- ServicePointManagerElement.cs