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 / SplitterEvent.cs / 1 / 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.
//------------------------------------------------------------------------------
//
// 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
- HostedHttpContext.cs
- FigureHelper.cs
- BasicHttpBindingElement.cs
- AssociationSetEnd.cs
- ColorConverter.cs
- WebServiceFaultDesigner.cs
- WmlLabelAdapter.cs
- QueryOutputWriterV1.cs
- SqlLiftWhereClauses.cs
- Condition.cs
- QilLoop.cs
- SplitterPanel.cs
- ProfileModule.cs
- StackSpiller.Bindings.cs
- BitmapEffect.cs
- DocumentScope.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- WebPartCancelEventArgs.cs
- ProviderConnectionPointCollection.cs
- Control.cs
- ExpressionParser.cs
- SmtpException.cs
- DuplicateWaitObjectException.cs
- MLangCodePageEncoding.cs
- SerializationInfo.cs
- DrawListViewColumnHeaderEventArgs.cs
- ContentFileHelper.cs
- InvocationExpression.cs
- OutputCacheSettingsSection.cs
- GenerateTemporaryTargetAssembly.cs
- TemplateBindingExpressionConverter.cs
- DesignerUtility.cs
- ResourceKey.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- Transform.cs
- MenuItem.cs
- DesignerOptionService.cs
- UniqueConstraint.cs
- CodeStatement.cs
- MailWriter.cs
- documentsequencetextpointer.cs
- RecognitionEventArgs.cs
- PopupControlService.cs
- LinkButton.cs
- OdbcParameterCollection.cs
- ClientSettingsSection.cs
- Animatable.cs
- ValidatorCompatibilityHelper.cs
- QuaternionAnimation.cs
- MultipleCopiesCollection.cs
- AppModelKnownContentFactory.cs
- RemoteWebConfigurationHost.cs
- SmiSettersStream.cs
- CriticalFinalizerObject.cs
- PrinterResolution.cs
- PropertyPushdownHelper.cs
- HttpCapabilitiesSectionHandler.cs
- InternalConfigHost.cs
- SqlUDTStorage.cs
- Membership.cs
- VirtualPathProvider.cs
- GetWorkflowTree.cs
- CacheDependency.cs
- MediaContextNotificationWindow.cs
- Bidi.cs
- SecurityVerifiedMessage.cs
- VoiceChangeEventArgs.cs
- ObjectConverter.cs
- BufferedOutputAsyncStream.cs
- Thread.cs
- Html32TextWriter.cs
- ZipIOModeEnforcingStream.cs
- SplitContainer.cs
- ArgumentNullException.cs
- TextFragmentEngine.cs
- WhereQueryOperator.cs
- NamespaceTable.cs
- RegexWriter.cs
- AnimatedTypeHelpers.cs
- EtwTrace.cs
- SectionUpdates.cs
- IssuedTokensHeader.cs
- ComboBox.cs
- StringResourceManager.cs
- SourceLineInfo.cs
- Italic.cs
- IndexerReference.cs
- XmlSchemaException.cs
- NumberFormatter.cs
- DataGridViewDataErrorEventArgs.cs
- UnknownWrapper.cs
- unitconverter.cs
- XmlUtil.cs
- SapiAttributeParser.cs
- SwitchCase.cs
- Emitter.cs
- ImageDrawing.cs
- NativeRightsManagementAPIsStructures.cs
- StylusLogic.cs
- InternalPermissions.cs