Code:
/ DotNET / DotNET / 8.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
- TransformDescriptor.cs
- Inflater.cs
- BufferedGraphicsContext.cs
- SpecularMaterial.cs
- DataServiceResponse.cs
- DataBindingCollection.cs
- Size.cs
- TrackingProfileCache.cs
- SHA512CryptoServiceProvider.cs
- RectValueSerializer.cs
- ElementUtil.cs
- OdbcReferenceCollection.cs
- PngBitmapDecoder.cs
- ResourceReader.cs
- CommandField.cs
- TrackingRecordPreFilter.cs
- DbFunctionCommandTree.cs
- XmlParser.cs
- DeviceContext2.cs
- RoleManagerModule.cs
- ConsoleCancelEventArgs.cs
- ConsumerConnectionPoint.cs
- TextRunCache.cs
- AmbientProperties.cs
- WsdlHelpGeneratorElement.cs
- ProjectionCamera.cs
- ReadOnlyTernaryTree.cs
- CharacterMetricsDictionary.cs
- SchemaLookupTable.cs
- XmlUtilWriter.cs
- ExpressionBinding.cs
- BitConverter.cs
- SafeFileMappingHandle.cs
- StoreAnnotationsMap.cs
- OdbcParameterCollection.cs
- CopyNodeSetAction.cs
- DistributedTransactionPermission.cs
- DbReferenceCollection.cs
- OutputCacheProfileCollection.cs
- PageVisual.cs
- ScrollChangedEventArgs.cs
- ScriptDescriptor.cs
- ConfigurationValidatorBase.cs
- Missing.cs
- DummyDataSource.cs
- TypedReference.cs
- DbProviderConfigurationHandler.cs
- XmlArrayAttribute.cs
- ScriptControlManager.cs
- Image.cs
- ConfigurationManagerHelperFactory.cs
- ParameterCollection.cs
- Roles.cs
- WindowsMenu.cs
- SamlAttributeStatement.cs
- CompressEmulationStream.cs
- CursorConverter.cs
- TabletCollection.cs
- CollectionViewSource.cs
- HtmlButton.cs
- ListBoxItemAutomationPeer.cs
- InfoCardBaseException.cs
- XmlImplementation.cs
- TextPattern.cs
- ConfigXmlWhitespace.cs
- ExpressionVisitor.cs
- BulletedListEventArgs.cs
- PowerEase.cs
- CustomSignedXml.cs
- TransactionChannelFaultConverter.cs
- Geometry.cs
- FontDriver.cs
- SizeAnimationBase.cs
- CompareInfo.cs
- FontSizeConverter.cs
- Point.cs
- SoapRpcServiceAttribute.cs
- SqlRowUpdatedEvent.cs
- SaveFileDialog.cs
- TypeExtensionSerializer.cs
- XmlObjectSerializerWriteContextComplex.cs
- IntSecurity.cs
- BulletedListEventArgs.cs
- CoTaskMemSafeHandle.cs
- WebMessageBodyStyleHelper.cs
- LayoutTableCell.cs
- UpdateProgress.cs
- ErrorHandler.cs
- OracleColumn.cs
- Padding.cs
- ReferencedAssembly.cs
- ReflectPropertyDescriptor.cs
- Compiler.cs
- TagPrefixCollection.cs
- PageSettings.cs
- ProfileModule.cs
- XhtmlBasicCommandAdapter.cs
- ServiceContractGenerationContext.cs
- RsaSecurityTokenAuthenticator.cs
- LayoutDump.cs