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
- QueryCreatedEventArgs.cs
- HybridCollection.cs
- GetWinFXPath.cs
- CodeExporter.cs
- SchemaRegistration.cs
- CodeTypeDeclarationCollection.cs
- ECDiffieHellmanCng.cs
- ExpandoObject.cs
- PathData.cs
- FormatSettings.cs
- x509store.cs
- _LazyAsyncResult.cs
- Label.cs
- IsolatedStorageException.cs
- XmlSchemaObjectTable.cs
- NameObjectCollectionBase.cs
- SystemKeyConverter.cs
- Cursors.cs
- BamlStream.cs
- XmlSchemaSimpleType.cs
- ComboBoxDesigner.cs
- HttpApplication.cs
- WebProxyScriptElement.cs
- SplitterCancelEvent.cs
- ExpandCollapseProviderWrapper.cs
- Tile.cs
- FixedSchema.cs
- OleDbConnection.cs
- SqlDataRecord.cs
- KerberosTicketHashIdentifierClause.cs
- Errors.cs
- XmlDictionaryReader.cs
- AssemblyResourceLoader.cs
- AssemblyHelper.cs
- QilParameter.cs
- HttpHostedTransportConfiguration.cs
- DataGridColumn.cs
- ConfigurationManagerHelper.cs
- MetadataUtil.cs
- ZipIOExtraField.cs
- ResourceReader.cs
- LogRestartAreaEnumerator.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- DataRecordInfo.cs
- AnnotationHighlightLayer.cs
- GridView.cs
- ReadOnlyTernaryTree.cs
- FirewallWrapper.cs
- ViewPort3D.cs
- UriWriter.cs
- EllipseGeometry.cs
- AttributeParameterInfo.cs
- CmsUtils.cs
- JavaScriptObjectDeserializer.cs
- PrintDialog.cs
- OdbcTransaction.cs
- PocoPropertyAccessorStrategy.cs
- FixedSOMFixedBlock.cs
- ReliabilityContractAttribute.cs
- XpsLiterals.cs
- ReadWriteObjectLock.cs
- StringArrayConverter.cs
- CalendarItem.cs
- RepeatBehavior.cs
- TypeUsageBuilder.cs
- SponsorHelper.cs
- SemanticBasicElement.cs
- KeyboardDevice.cs
- StylusLogic.cs
- AccessViolationException.cs
- EntityClassGenerator.cs
- DocobjHost.cs
- IPPacketInformation.cs
- CustomValidator.cs
- StateInitialization.cs
- TemplateInstanceAttribute.cs
- IndexedString.cs
- ReadOnlyCollection.cs
- NotifyIcon.cs
- DynamicResourceExtension.cs
- SrgsItemList.cs
- InvokePattern.cs
- WinFormsComponentEditor.cs
- XPathEmptyIterator.cs
- JoinTreeNode.cs
- CodeExporter.cs
- Transform3DGroup.cs
- SymmetricCryptoHandle.cs
- TextBox.cs
- SessionStateContainer.cs
- CodeDOMProvider.cs
- Constraint.cs
- BeginEvent.cs
- DynamicEntity.cs
- InfoCardKeyedHashAlgorithm.cs
- SHA256Managed.cs
- SliderAutomationPeer.cs
- _HTTPDateParse.cs
- VisualStyleElement.cs
- CharacterMetrics.cs