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
- ObjectMaterializedEventArgs.cs
- GuidelineSet.cs
- QilTargetType.cs
- RuleSettings.cs
- TempFiles.cs
- EndOfStreamException.cs
- SoapEnvelopeProcessingElement.cs
- ToolStripLocationCancelEventArgs.cs
- TextSpan.cs
- XsdDataContractImporter.cs
- AdapterUtil.cs
- TimeSpanStorage.cs
- Domain.cs
- HostingEnvironmentException.cs
- _WinHttpWebProxyDataBuilder.cs
- QuaternionAnimation.cs
- SimpleTypeResolver.cs
- ImageIndexConverter.cs
- Select.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- PublisherIdentityPermission.cs
- TextFormattingConverter.cs
- TextParagraphCache.cs
- ScrollData.cs
- BamlRecordWriter.cs
- TextServicesPropertyRanges.cs
- CqlLexer.cs
- DataGridViewCheckBoxColumn.cs
- EventWaitHandle.cs
- SafeSystemMetrics.cs
- DependencyObject.cs
- Pen.cs
- Vector3DIndependentAnimationStorage.cs
- LogicalChannel.cs
- StringComparer.cs
- SqlRowUpdatedEvent.cs
- FixedSOMPage.cs
- DropDownButton.cs
- RoleGroup.cs
- MobileListItemCollection.cs
- Token.cs
- Tool.cs
- CompilationSection.cs
- ContentPresenter.cs
- JapaneseCalendar.cs
- ErrorWebPart.cs
- SymmetricAlgorithm.cs
- CodeMethodReturnStatement.cs
- RuleConditionDialog.cs
- OutgoingWebResponseContext.cs
- ConnectionManagementElementCollection.cs
- columnmapkeybuilder.cs
- TextSegment.cs
- StateMachine.cs
- PreloadedPackages.cs
- SurrogateSelector.cs
- DataGridColumn.cs
- FixedSOMLineCollection.cs
- EmbeddedMailObjectsCollection.cs
- DataRecordObjectView.cs
- ConstraintManager.cs
- ProtocolsConfiguration.cs
- RemoteWebConfigurationHostServer.cs
- RoleGroup.cs
- EdmValidator.cs
- Soap11ServerProtocol.cs
- Trace.cs
- SubqueryRules.cs
- TimeoutException.cs
- ComponentRenameEvent.cs
- EarlyBoundInfo.cs
- FontStretchConverter.cs
- CheckBoxFlatAdapter.cs
- SchemaNames.cs
- EastAsianLunisolarCalendar.cs
- ListenerAdapterBase.cs
- FreeFormDragDropManager.cs
- DataSourceControl.cs
- StaticDataManager.cs
- TreeWalkHelper.cs
- TextTreeInsertElementUndoUnit.cs
- HtmlPageAdapter.cs
- FixedPage.cs
- figurelengthconverter.cs
- AuthorizationSection.cs
- DrawingContextDrawingContextWalker.cs
- LiteralText.cs
- ObjectDataSourceEventArgs.cs
- Compiler.cs
- EffectiveValueEntry.cs
- CompoundFileStreamReference.cs
- SchemaDeclBase.cs
- ZipIOCentralDirectoryFileHeader.cs
- FixedPageAutomationPeer.cs
- OleDbCommandBuilder.cs
- TextDpi.cs
- DnsEndPoint.cs
- DependencyPropertyKey.cs
- IPHostEntry.cs
- ELinqQueryState.cs