Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / BindingCompleteEventArgs.cs / 1305376 / 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
- DataGridItemCollection.cs
- COM2ExtendedTypeConverter.cs
- GlyphTypeface.cs
- ReverseInheritProperty.cs
- VariableQuery.cs
- ReadOnlyKeyedCollection.cs
- FixedDSBuilder.cs
- MethodAccessException.cs
- GenericEnumConverter.cs
- ElementsClipboardData.cs
- BooleanExpr.cs
- TimersDescriptionAttribute.cs
- SecurityTokenRequirement.cs
- FormsAuthenticationConfiguration.cs
- UIElementAutomationPeer.cs
- TextMessageEncoder.cs
- XdrBuilder.cs
- DataControlFieldCell.cs
- ExceptionValidationRule.cs
- ScrollViewer.cs
- RenderDataDrawingContext.cs
- TabControlEvent.cs
- Win32MouseDevice.cs
- OutOfMemoryException.cs
- TypedDataSetSchemaImporterExtension.cs
- HttpCookie.cs
- StreamMarshaler.cs
- CodeConstructor.cs
- StreamedWorkflowDefinitionContext.cs
- ToolStripPanelSelectionBehavior.cs
- SimpleBitVector32.cs
- TextSelectionProcessor.cs
- LogLogRecordEnumerator.cs
- MembershipValidatePasswordEventArgs.cs
- DesignerTransactionCloseEvent.cs
- TypefaceMetricsCache.cs
- StringInfo.cs
- DataRecordObjectView.cs
- RelatedImageListAttribute.cs
- TimestampInformation.cs
- LinearKeyFrames.cs
- SecurityException.cs
- DockPattern.cs
- LinqDataSourceHelper.cs
- WebPartTransformerAttribute.cs
- EngineSite.cs
- UpWmlMobileTextWriter.cs
- ShaderEffect.cs
- CacheRequest.cs
- ForceCopyBuildProvider.cs
- AppLevelCompilationSectionCache.cs
- ClientType.cs
- MappedMetaModel.cs
- ToolboxItem.cs
- ChangeInterceptorAttribute.cs
- ScriptBehaviorDescriptor.cs
- HttpServerChannel.cs
- _SecureChannel.cs
- dataprotectionpermission.cs
- XmlRawWriter.cs
- NameValueSectionHandler.cs
- ObjectStateFormatter.cs
- sitestring.cs
- UnicastIPAddressInformationCollection.cs
- QueryIntervalOp.cs
- XmlSchemaRedefine.cs
- UpdatePanelControlTrigger.cs
- HashSetDebugView.cs
- TdsEnums.cs
- UriTemplate.cs
- ParameterCollection.cs
- StylusButtonEventArgs.cs
- SqlClientMetaDataCollectionNames.cs
- RawStylusSystemGestureInputReport.cs
- DataGridLinkButton.cs
- _TimerThread.cs
- Deflater.cs
- ServiceMemoryGates.cs
- PreviewKeyDownEventArgs.cs
- AxHostDesigner.cs
- BitFlagsGenerator.cs
- Deflater.cs
- MessagePropertyFilter.cs
- HashAlgorithm.cs
- DependencyObjectPropertyDescriptor.cs
- AssociationSetEnd.cs
- SQLSingle.cs
- ForeignConstraint.cs
- XmlRootAttribute.cs
- RichTextBox.cs
- TypeGeneratedEventArgs.cs
- IndexOutOfRangeException.cs
- LoadRetryAsyncResult.cs
- uribuilder.cs
- SponsorHelper.cs
- DES.cs
- SerializationFieldInfo.cs
- QilStrConcatenator.cs
- CheckBox.cs
- __ConsoleStream.cs