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
- NativeMethods.cs
- MemoryMappedFile.cs
- SoapIncludeAttribute.cs
- EntityStoreSchemaFilterEntry.cs
- DecoratedNameAttribute.cs
- ConstNode.cs
- PersonalizationAdministration.cs
- RouteItem.cs
- XPathBuilder.cs
- TemplateControl.cs
- DescendantOverDescendantQuery.cs
- COM2ExtendedUITypeEditor.cs
- ConfigurationLocation.cs
- Stylesheet.cs
- TemplateBindingExtension.cs
- DefaultPropertyAttribute.cs
- BamlTreeNode.cs
- ButtonBase.cs
- DataGridViewRowsAddedEventArgs.cs
- LogicalExpr.cs
- UIElementPropertyUndoUnit.cs
- CfgParser.cs
- LineInfo.cs
- AnchoredBlock.cs
- DataServiceQueryException.cs
- BasicBrowserDialog.designer.cs
- LocatorBase.cs
- userdatakeys.cs
- DataGridColumn.cs
- PerformanceCounterPermission.cs
- WindowsStatic.cs
- CodeTypeReferenceExpression.cs
- GeneralTransform3DGroup.cs
- RootProjectionNode.cs
- WebPartEventArgs.cs
- CacheForPrimitiveTypes.cs
- DispatcherHookEventArgs.cs
- ReversePositionQuery.cs
- Maps.cs
- GenericWebPart.cs
- XmlUtil.cs
- HostVisual.cs
- SeekStoryboard.cs
- EdmTypeAttribute.cs
- SubclassTypeValidatorAttribute.cs
- XmlNodeReader.cs
- DataBoundControl.cs
- LambdaCompiler.Statements.cs
- DataGridItemCollection.cs
- nulltextcontainer.cs
- SoapAttributeAttribute.cs
- FormsIdentity.cs
- Interlocked.cs
- NamespaceList.cs
- SQLBinaryStorage.cs
- GregorianCalendarHelper.cs
- SqlMethods.cs
- SignedXmlDebugLog.cs
- Cloud.cs
- MatrixAnimationBase.cs
- Attachment.cs
- WebSysDescriptionAttribute.cs
- ManifestResourceInfo.cs
- ManagementInstaller.cs
- PerformanceCountersElement.cs
- BamlResourceDeserializer.cs
- MutexSecurity.cs
- _LoggingObject.cs
- BaseTemplateBuildProvider.cs
- HandoffBehavior.cs
- TextEndOfLine.cs
- BaseCodeDomTreeGenerator.cs
- ToolStripItemClickedEventArgs.cs
- ExpressionBuilder.cs
- TransactionContext.cs
- ComPlusDiagnosticTraceRecords.cs
- List.cs
- TableLayoutStyle.cs
- UnmanagedMemoryAccessor.cs
- RenderTargetBitmap.cs
- ContentHostHelper.cs
- AdRotator.cs
- SoapExtension.cs
- AutomationFocusChangedEventArgs.cs
- DocumentOrderQuery.cs
- HeaderedItemsControl.cs
- ConfigXmlWhitespace.cs
- SqlDataSourceCommandEventArgs.cs
- Component.cs
- PopupControlService.cs
- HtmlInputReset.cs
- ObjectNavigationPropertyMapping.cs
- ViewManager.cs
- CheckBox.cs
- GenericPrincipal.cs
- WebPartCancelEventArgs.cs
- RegexGroupCollection.cs
- ToolbarAUtomationPeer.cs
- KoreanCalendar.cs
- InputQueue.cs