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
- GcHandle.cs
- XPathNavigatorKeyComparer.cs
- HtmlInputImage.cs
- QilXmlReader.cs
- DeleteHelper.cs
- MailAddressCollection.cs
- LicenseContext.cs
- WebHttpEndpointElement.cs
- ComplexTypeEmitter.cs
- ClientSponsor.cs
- SystemDiagnosticsSection.cs
- WorkflowServiceHostFactory.cs
- WindowPatternIdentifiers.cs
- ControlHelper.cs
- DataPagerField.cs
- SchemaImporterExtensionElementCollection.cs
- UserControlParser.cs
- SQLRoleProvider.cs
- ToolStripRenderer.cs
- StrongNameIdentityPermission.cs
- ServicePoint.cs
- XamlTypeMapper.cs
- Content.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- Semaphore.cs
- CapabilitiesAssignment.cs
- DiscoveryEndpoint.cs
- DataGridViewLinkCell.cs
- WebEventCodes.cs
- IsolatedStorageFileStream.cs
- KeyTime.cs
- StatusBarPanel.cs
- CodeIterationStatement.cs
- ErrorBehavior.cs
- regiisutil.cs
- Stroke2.cs
- DataGridViewRowHeaderCell.cs
- EntityDesignerBuildProvider.cs
- Identity.cs
- DbXmlEnabledProviderManifest.cs
- DocumentAutomationPeer.cs
- SetState.cs
- FontStyles.cs
- ScriptingScriptResourceHandlerSection.cs
- EntityDataSourceContextDisposingEventArgs.cs
- SspiNegotiationTokenAuthenticatorState.cs
- ellipse.cs
- AsymmetricAlgorithm.cs
- EdmEntityTypeAttribute.cs
- DebugView.cs
- FileDialogCustomPlace.cs
- AdornedElementPlaceholder.cs
- NameNode.cs
- BackgroundWorker.cs
- SoapFault.cs
- NullableDecimalMinMaxAggregationOperator.cs
- TransformerInfoCollection.cs
- StylusButton.cs
- LoginDesigner.cs
- GeometryDrawing.cs
- StreamProxy.cs
- Sql8ConformanceChecker.cs
- ApplicationId.cs
- SettingsProviderCollection.cs
- CompositeFontParser.cs
- ListViewDeletedEventArgs.cs
- TraceSource.cs
- ImageSourceConverter.cs
- CorrelationManager.cs
- RetriableClipboard.cs
- Attributes.cs
- TemplateBindingExtensionConverter.cs
- Enum.cs
- xdrvalidator.cs
- PerSessionInstanceContextProvider.cs
- PenCursorManager.cs
- EntityDesignerUtils.cs
- ChangeDirector.cs
- MetadataArtifactLoaderCompositeResource.cs
- MemberHolder.cs
- SpotLight.cs
- RightsManagementEncryptedStream.cs
- BookmarkResumptionRecord.cs
- WindowCollection.cs
- HtmlUtf8RawTextWriter.cs
- NavigationWindow.cs
- AnimationClockResource.cs
- CqlLexerHelpers.cs
- dbdatarecord.cs
- PersonalizationAdministration.cs
- SystemResourceKey.cs
- FormClosingEvent.cs
- DigestTraceRecordHelper.cs
- PerfCounterSection.cs
- NumericUpDownAccelerationCollection.cs
- HttpClientCertificate.cs
- FormViewDeletedEventArgs.cs
- SiteMap.cs
- SystemIPAddressInformation.cs
- Message.cs