Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / SplitterEvent.cs / 1305376 / SplitterEvent.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;
///
///
///
/// Provides data for splitter events.
///
///
[System.Runtime.InteropServices.ComVisible(true)]
public class SplitterEventArgs : EventArgs {
private readonly int x;
private readonly int y;
private int splitX;
private int splitY;
///
///
///
/// Initializes an instance of the class with the specified coordinates
/// of the mouse pointer and the upper-left corner of the .
///
///
public SplitterEventArgs(int x, int y, int splitX, int splitY) {
this.x = x;
this.y = y;
this.splitX = splitX;
this.splitY = splitY;
}
///
///
///
/// Gets the x-coordinate of the
/// mouse pointer (in client coordinates).
///
///
public int X {
get {
return x;
}
}
///
///
///
/// Gets the y-coordinate of the mouse pointer (in
/// client coordinates).
///
///
public int Y {
get {
return y;
}
}
///
///
///
/// Gets the x-coordinate of the
/// upper-left corner of the (in client coordinates).
///
///
public int SplitX {
get {
return splitX;
}
set {
splitX = value;
}
}
///
///
///
/// Gets the y-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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- wgx_exports.cs
- EditorZoneBase.cs
- EventWaitHandleSecurity.cs
- BindingEntityInfo.cs
- StorageModelBuildProvider.cs
- CodeFieldReferenceExpression.cs
- DictionaryContent.cs
- TableRow.cs
- HeaderedContentControl.cs
- ViewPort3D.cs
- SplitterPanel.cs
- LinkConverter.cs
- XPathNodeInfoAtom.cs
- XamlTemplateSerializer.cs
- CompositionAdorner.cs
- UserPersonalizationStateInfo.cs
- IISUnsafeMethods.cs
- SessionParameter.cs
- ErrorLog.cs
- BooleanToVisibilityConverter.cs
- DeviceSpecificDesigner.cs
- ThumbAutomationPeer.cs
- AuthenticateEventArgs.cs
- ActivityBindForm.Designer.cs
- Light.cs
- AstTree.cs
- SafeFindHandle.cs
- TextServicesPropertyRanges.cs
- EdmScalarPropertyAttribute.cs
- DataMemberFieldEditor.cs
- SpeakCompletedEventArgs.cs
- AnnotationComponentChooser.cs
- Slider.cs
- ThicknessConverter.cs
- RelatedView.cs
- ExpanderAutomationPeer.cs
- SystemPens.cs
- ReadOnlyObservableCollection.cs
- DesignTimeHTMLTextWriter.cs
- DetailsViewInsertEventArgs.cs
- diagnosticsswitches.cs
- GroupBoxAutomationPeer.cs
- TextTreeText.cs
- RangeContentEnumerator.cs
- InputScopeManager.cs
- SchemaNames.cs
- InvokeMethodActivity.cs
- PropertyInformationCollection.cs
- PolicyStatement.cs
- SqlTopReducer.cs
- BamlRecordReader.cs
- assertwrapper.cs
- Cursors.cs
- Visitor.cs
- TypeResolver.cs
- WebContext.cs
- DependencyPropertyAttribute.cs
- Addressing.cs
- ToolStripContainer.cs
- _ConnectionGroup.cs
- StorageInfo.cs
- FtpWebRequest.cs
- ToolBarButtonClickEvent.cs
- BitVector32.cs
- StateDesigner.TransitionInfo.cs
- QilReference.cs
- StringWriter.cs
- JavascriptCallbackMessageInspector.cs
- ReferencedType.cs
- COM2IDispatchConverter.cs
- GraphicsState.cs
- SchemaImporterExtensionsSection.cs
- Util.cs
- Identity.cs
- CancellationTokenSource.cs
- XPathNodeInfoAtom.cs
- KeyToListMap.cs
- ProtocolsSection.cs
- SchemaNamespaceManager.cs
- EastAsianLunisolarCalendar.cs
- arc.cs
- CategoryValueConverter.cs
- StateMachineSubscriptionManager.cs
- DesignTimeParseData.cs
- XamlFigureLengthSerializer.cs
- ISCIIEncoding.cs
- SelectionProcessor.cs
- List.cs
- PanelStyle.cs
- ConnectionStringSettings.cs
- JournalNavigationScope.cs
- SortKey.cs
- OleDbParameterCollection.cs
- MailWebEventProvider.cs
- CapiSafeHandles.cs
- AttachedPropertyMethodSelector.cs
- SignerInfo.cs
- SymbolMethod.cs
- HttpModulesSection.cs
- LockedHandleGlyph.cs