Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterEvent.cs / 1305376 / SplitterEvent.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; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class SplitterEventArgs : EventArgs { private readonly int x; private readonly int y; private int splitX; private int splitY; ////// Provides data for splitter events. /// ////// /// public SplitterEventArgs(int x, int y, int splitX, int splitY) { this.x = x; this.y = y; 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 X { get { return x; } } ////// Gets the x-coordinate of the /// mouse pointer (in client coordinates). /// ////// /// public int Y { get { return y; } } ////// 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; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class SplitterEventArgs : EventArgs { private readonly int x; private readonly int y; private int splitX; private int splitY; ////// Provides data for splitter events. /// ////// /// public SplitterEventArgs(int x, int y, int splitX, int splitY) { this.x = x; this.y = y; 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 X { get { return x; } } ////// Gets the x-coordinate of the /// mouse pointer (in client coordinates). /// ////// /// public int Y { get { return y; } } ////// 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
- PngBitmapDecoder.cs
- ApplicationBuildProvider.cs
- EventLogPermissionEntry.cs
- Win32.cs
- StyleModeStack.cs
- _ContextAwareResult.cs
- EmptyQuery.cs
- SqlClientMetaDataCollectionNames.cs
- TransformerInfoCollection.cs
- RuntimeConfigLKG.cs
- ReflectionUtil.cs
- webclient.cs
- SqlDataSourceCommandParser.cs
- PropertyIDSet.cs
- AliasExpr.cs
- ToolboxComponentsCreatingEventArgs.cs
- KeyValueSerializer.cs
- HttpRequestWrapper.cs
- WebExceptionStatus.cs
- InstanceLockLostException.cs
- DatasetMethodGenerator.cs
- ServerValidateEventArgs.cs
- EntityProxyFactory.cs
- SiteMapNodeCollection.cs
- PersonalizationProviderHelper.cs
- OleCmdHelper.cs
- pingexception.cs
- PageAsyncTask.cs
- PassportAuthenticationEventArgs.cs
- MsmqOutputChannel.cs
- PerformanceCounterNameAttribute.cs
- WindowsFont.cs
- WebPartEditorApplyVerb.cs
- ACE.cs
- ResolvedKeyFrameEntry.cs
- SqlProfileProvider.cs
- DataGridViewComboBoxCell.cs
- BitmapEffectGroup.cs
- Win32Interop.cs
- Geometry3D.cs
- TrackingMemoryStream.cs
- Pkcs9Attribute.cs
- DbgCompiler.cs
- CommandField.cs
- DataGridCellEditEndingEventArgs.cs
- DataColumn.cs
- EntityWithChangeTrackerStrategy.cs
- RelOps.cs
- RecordManager.cs
- Padding.cs
- DataGridBoolColumn.cs
- DataColumnMapping.cs
- SchemaCollectionPreprocessor.cs
- BufferModeSettings.cs
- XmlReaderSettings.cs
- Visual3D.cs
- WebControlParameterProxy.cs
- ProfileSection.cs
- EventSinkActivityDesigner.cs
- ConnectionPool.cs
- ConfigurationSection.cs
- IIS7UserPrincipal.cs
- _DigestClient.cs
- FontDialog.cs
- CompModSwitches.cs
- RSAPKCS1KeyExchangeFormatter.cs
- FieldTemplateUserControl.cs
- MessageFilterException.cs
- Binding.cs
- Model3DGroup.cs
- metadatamappinghashervisitor.cs
- SiteMapNodeCollection.cs
- WmlValidatorAdapter.cs
- XPathDocumentIterator.cs
- CapabilitiesState.cs
- ApplicationGesture.cs
- ApplicationException.cs
- BinaryParser.cs
- DesignRelation.cs
- PenCursorManager.cs
- WorkflowClientDeliverMessageWrapper.cs
- TextTreePropertyUndoUnit.cs
- MediaCommands.cs
- ModelTreeEnumerator.cs
- BehaviorDragDropEventArgs.cs
- errorpatternmatcher.cs
- EditorPart.cs
- InvalidChannelBindingException.cs
- SchemaLookupTable.cs
- RegexCaptureCollection.cs
- RelationshipNavigation.cs
- DocumentSchemaValidator.cs
- BamlMapTable.cs
- HttpProxyCredentialType.cs
- LambdaReference.cs
- SlipBehavior.cs
- SiteMapNodeCollection.cs
- BooleanExpr.cs
- CustomAssemblyResolver.cs
- InlineUIContainer.cs