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
- KeyGesture.cs
- UrlPropertyAttribute.cs
- DocumentXPathNavigator.cs
- Int32RectValueSerializer.cs
- DataTableReaderListener.cs
- ExtenderProviderService.cs
- MsmqIntegrationProcessProtocolHandler.cs
- SafeTimerHandle.cs
- OrElse.cs
- GlobalizationSection.cs
- HttpCachePolicy.cs
- BinaryReader.cs
- DbConnectionPool.cs
- ComponentEvent.cs
- XmlConvert.cs
- WebConvert.cs
- MTConfigUtil.cs
- AssemblyBuilderData.cs
- SelectedGridItemChangedEvent.cs
- ReadOnlyMetadataCollection.cs
- ADConnectionHelper.cs
- TimeManager.cs
- ActivationArguments.cs
- ValueTable.cs
- CollectionChangeEventArgs.cs
- IconBitmapDecoder.cs
- Matrix3DStack.cs
- TextMarkerSource.cs
- SID.cs
- QueryStack.cs
- ConfigXmlText.cs
- TreeViewTemplateSelector.cs
- RuntimeHandles.cs
- ContextMenuService.cs
- Rect3DConverter.cs
- _Events.cs
- MailMessage.cs
- StringOutput.cs
- CompositionTarget.cs
- RawTextInputReport.cs
- WebPartCancelEventArgs.cs
- DeclaredTypeElementCollection.cs
- CaseInsensitiveHashCodeProvider.cs
- ContentHostHelper.cs
- CodeNamespaceImport.cs
- WebPartVerbCollection.cs
- SessionStateUtil.cs
- EnumerableRowCollection.cs
- ServiceMetadataContractBehavior.cs
- MailDefinition.cs
- AnonymousIdentificationSection.cs
- SystemFonts.cs
- SafeSecurityHelper.cs
- DataGridViewCell.cs
- DoubleLinkListEnumerator.cs
- FunctionImportElement.cs
- regiisutil.cs
- IconConverter.cs
- SystemFonts.cs
- SqlDataSourceTableQuery.cs
- PropertyMetadata.cs
- CompilationRelaxations.cs
- DirectoryNotFoundException.cs
- FlowDocumentView.cs
- EventWaitHandle.cs
- RegexCharClass.cs
- ProtocolElement.cs
- ProviderIncompatibleException.cs
- BypassElement.cs
- ComplexObject.cs
- TextComposition.cs
- PolyBezierSegment.cs
- ReadContentAsBinaryHelper.cs
- UpdateCommand.cs
- InstallerTypeAttribute.cs
- Win32.cs
- DataSourceListEditor.cs
- InstanceDescriptor.cs
- SmtpNegotiateAuthenticationModule.cs
- HealthMonitoringSection.cs
- ProfileEventArgs.cs
- HtmlElement.cs
- WebControlsSection.cs
- ComPlusContractBehavior.cs
- BeginStoryboard.cs
- SharedStatics.cs
- Subtree.cs
- JavaScriptString.cs
- RightsManagementEncryptionTransform.cs
- DocumentSchemaValidator.cs
- SQLInt64Storage.cs
- IndentTextWriter.cs
- DiffuseMaterial.cs
- BulletDecorator.cs
- AffineTransform3D.cs
- PartitionedDataSource.cs
- DesignerObjectListAdapter.cs
- RepeaterItemCollection.cs
- MD5CryptoServiceProvider.cs
- ManagedCodeMarkers.cs