Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. //------------------------------------------------------------------------------ ///// 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; ////// /// 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./// 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
- WebService.cs
- TableRow.cs
- PersonalizableTypeEntry.cs
- hebrewshape.cs
- PropertyEmitter.cs
- BStrWrapper.cs
- ContainerVisual.cs
- RequestResponse.cs
- Converter.cs
- ListBindingHelper.cs
- AnnotationComponentChooser.cs
- Registry.cs
- BindStream.cs
- NativeMethods.cs
- SmtpNetworkElement.cs
- CompilerGeneratedAttribute.cs
- ClrPerspective.cs
- WindowCollection.cs
- DataBindEngine.cs
- PackageRelationshipSelector.cs
- EmissiveMaterial.cs
- PerformanceCounterManager.cs
- SmtpDigestAuthenticationModule.cs
- DynamicValidator.cs
- GlyphCache.cs
- DataBindingExpressionBuilder.cs
- TextHidden.cs
- WindowsListViewScroll.cs
- CallContext.cs
- ConfigXmlCDataSection.cs
- DbExpressionRules.cs
- BamlLocalizer.cs
- ServiceOperation.cs
- VBCodeProvider.cs
- TextTreeExtractElementUndoUnit.cs
- SamlAuthorityBinding.cs
- FileBasedResourceGroveler.cs
- BindingCompleteEventArgs.cs
- CompressionTransform.cs
- EFTableProvider.cs
- CompiledQueryCacheKey.cs
- SocketElement.cs
- SerializationSectionGroup.cs
- LayoutEvent.cs
- CharStorage.cs
- CodeMemberMethod.cs
- RemotingConfiguration.cs
- ToolStripItem.cs
- ToolStripRendererSwitcher.cs
- RootProfilePropertySettingsCollection.cs
- ValueChangedEventManager.cs
- XmlNodeReader.cs
- PropertyIDSet.cs
- RemoteWebConfigurationHost.cs
- RangeValidator.cs
- HyperLinkField.cs
- DebugView.cs
- OptimalBreakSession.cs
- ImageClickEventArgs.cs
- UIElement.cs
- ResourceWriter.cs
- SelectionProviderWrapper.cs
- RtType.cs
- FlowDocumentPage.cs
- SymbolPair.cs
- StylesEditorDialog.cs
- ActiveXMessageFormatter.cs
- DataGridViewComboBoxCell.cs
- DbDataSourceEnumerator.cs
- SqlNotificationRequest.cs
- HttpFileCollectionWrapper.cs
- SimpleType.cs
- StringFormat.cs
- JsonFormatWriterGenerator.cs
- GraphicsContext.cs
- CatalogZoneBase.cs
- XmlNamespaceMappingCollection.cs
- Table.cs
- MarginCollapsingState.cs
- VariableAction.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- DriveNotFoundException.cs
- SpeechSynthesizer.cs
- Container.cs
- XamlBuildTaskServices.cs
- SmtpTransport.cs
- Object.cs
- WebSysDisplayNameAttribute.cs
- HiddenField.cs
- RequestNavigateEventArgs.cs
- SqlTrackingWorkflowInstance.cs
- ArithmeticException.cs
- WorkflowDefinitionDispenser.cs
- EventLogPropertySelector.cs
- ApplicationServiceHelper.cs
- BamlWriter.cs
- AnimationException.cs
- ConsumerConnectionPointCollection.cs
- RangeBaseAutomationPeer.cs
- GeometryModel3D.cs