Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / BindingCompleteEventArgs.cs / 1 / BindingCompleteEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms
{
using System;
using System.ComponentModel;
///
///
/// Provides information about a Binding Completed event.
///
public class BindingCompleteEventArgs : CancelEventArgs {
private Binding binding;
private BindingCompleteState state;
private BindingCompleteContext context;
private string errorText;
private Exception exception;
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context,
string errorText,
Exception exception,
bool cancel) : base(cancel) {
this.binding = binding;
this.state = state;
this.context = context;
this.errorText = (errorText == null) ? string.Empty : errorText;
this.exception = exception;
}
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context,
string errorText,
Exception exception) : this(binding, state, context, errorText, exception, true) {
}
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context,
string errorText) : this(binding, state, context, errorText, null, true) {
}
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context) : this(binding, state, context, string.Empty, null, false) {
}
///
///
///
public Binding Binding {
get {
return this.binding;
}
}
///
///
///
public BindingCompleteState BindingCompleteState {
get {
return this.state;
}
}
///
///
///
public BindingCompleteContext BindingCompleteContext {
get {
return this.context;
}
}
///
///
///
public string ErrorText {
get {
return this.errorText;
}
}
///
///
///
public Exception Exception
{
get {
return this.exception;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Windows.Forms
{
using System;
using System.ComponentModel;
///
///
/// Provides information about a Binding Completed event.
///
public class BindingCompleteEventArgs : CancelEventArgs {
private Binding binding;
private BindingCompleteState state;
private BindingCompleteContext context;
private string errorText;
private Exception exception;
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context,
string errorText,
Exception exception,
bool cancel) : base(cancel) {
this.binding = binding;
this.state = state;
this.context = context;
this.errorText = (errorText == null) ? string.Empty : errorText;
this.exception = exception;
}
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context,
string errorText,
Exception exception) : this(binding, state, context, errorText, exception, true) {
}
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context,
string errorText) : this(binding, state, context, errorText, null, true) {
}
///
///
/// Constructor for BindingCompleteEventArgs.
///
public BindingCompleteEventArgs(Binding binding,
BindingCompleteState state,
BindingCompleteContext context) : this(binding, state, context, string.Empty, null, false) {
}
///
///
///
public Binding Binding {
get {
return this.binding;
}
}
///
///
///
public BindingCompleteState BindingCompleteState {
get {
return this.state;
}
}
///
///
///
public BindingCompleteContext BindingCompleteContext {
get {
return this.context;
}
}
///
///
///
public string ErrorText {
get {
return this.errorText;
}
}
///
///
///
public Exception Exception
{
get {
return this.exception;
}
}
}
}
// 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
- InkCanvasSelectionAdorner.cs
- ImageClickEventArgs.cs
- DuplexSecurityProtocolFactory.cs
- ResXResourceWriter.cs
- CompoundFileDeflateTransform.cs
- Transform.cs
- WaitForChangedResult.cs
- EventListener.cs
- SmiRequestExecutor.cs
- GeometryCombineModeValidation.cs
- TableLayoutRowStyleCollection.cs
- FixedSOMLineRanges.cs
- TopClause.cs
- ControlPaint.cs
- DuplexClientBase.cs
- TimelineCollection.cs
- BamlRecordReader.cs
- PropertyNames.cs
- DbProviderFactories.cs
- UnknownWrapper.cs
- SchemaTypeEmitter.cs
- FrameworkObject.cs
- OracleBFile.cs
- FaultContext.cs
- RequestDescription.cs
- Column.cs
- CodeTypeParameterCollection.cs
- SecurityResources.cs
- BaseComponentEditor.cs
- DataServiceQuery.cs
- DependencyObjectType.cs
- HandlerBase.cs
- ProbeDuplexCD1AsyncResult.cs
- NamedPipeProcessProtocolHandler.cs
- MD5CryptoServiceProvider.cs
- WebPartsPersonalizationAuthorization.cs
- ProxyHwnd.cs
- CompilerScope.Storage.cs
- SelectionService.cs
- URLMembershipCondition.cs
- TypeConverterHelper.cs
- PersonalizationState.cs
- DynamicRenderer.cs
- DataGridViewImageCell.cs
- Brush.cs
- ColumnTypeConverter.cs
- InvalidOperationException.cs
- DataGridViewColumnConverter.cs
- EmptyImpersonationContext.cs
- Base64Encoding.cs
- CommonEndpointBehaviorElement.cs
- ReplyChannelBinder.cs
- NavigationService.cs
- Bits.cs
- ItemMap.cs
- SelectedCellsCollection.cs
- AnchoredBlock.cs
- PersistenceTypeAttribute.cs
- PropertyGridDesigner.cs
- Transactions.cs
- SpellCheck.cs
- VisualTreeUtils.cs
- FormParameter.cs
- RepeaterItemEventArgs.cs
- HostProtectionException.cs
- RsaSecurityToken.cs
- MetadataItem.cs
- SqlConnectionStringBuilder.cs
- ProviderBase.cs
- EntityContainerAssociationSet.cs
- Panel.cs
- TypeGenericEnumerableViewSchema.cs
- TextFormatterImp.cs
- AnnotationComponentChooser.cs
- TrackingMemoryStream.cs
- SqlServer2KCompatibilityCheck.cs
- CategoryAttribute.cs
- RawUIStateInputReport.cs
- MoveSizeWinEventHandler.cs
- SchemaNamespaceManager.cs
- SessionEndingEventArgs.cs
- SqlExpander.cs
- Operator.cs
- ColorConvertedBitmap.cs
- PropertyConverter.cs
- WebPartAuthorizationEventArgs.cs
- WebServiceParameterData.cs
- SqlUserDefinedAggregateAttribute.cs
- MimeFormatExtensions.cs
- TextParagraphProperties.cs
- ColorConverter.cs
- SocketAddress.cs
- MSHTMLHost.cs
- DBConnection.cs
- ObjectHandle.cs
- DynamicPropertyHolder.cs
- _NestedMultipleAsyncResult.cs
- PackagePartCollection.cs
- TreeNodeStyleCollection.cs
- VisualStyleInformation.cs