Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ComplexPropertyEntry.cs
- ExpressionTable.cs
- ApplyTemplatesAction.cs
- WebPartDescriptionCollection.cs
- TranslateTransform.cs
- OpacityConverter.cs
- DateBoldEvent.cs
- TransformCollection.cs
- RotateTransform3D.cs
- LocalValueEnumerator.cs
- CheckPair.cs
- EmptyReadOnlyDictionaryInternal.cs
- RootProfilePropertySettingsCollection.cs
- ExtendedProperty.cs
- BigInt.cs
- PropertyGridView.cs
- SoapTransportImporter.cs
- TransformProviderWrapper.cs
- RuntimeConfigLKG.cs
- SchemaNamespaceManager.cs
- TreeWalker.cs
- ConfigurationStrings.cs
- Pointer.cs
- LinearGradientBrush.cs
- COM2Properties.cs
- CompilerScopeManager.cs
- UrlPath.cs
- ObjRef.cs
- Object.cs
- XamlFrame.cs
- FormsIdentity.cs
- StaticSiteMapProvider.cs
- File.cs
- PassportIdentity.cs
- EmptyReadOnlyDictionaryInternal.cs
- SettingsAttributeDictionary.cs
- DataConnectionHelper.cs
- ErrorView.xaml.cs
- EncryptedPackageFilter.cs
- VisualTarget.cs
- LineGeometry.cs
- SignatureToken.cs
- _SslStream.cs
- WindowsListViewItem.cs
- Trigger.cs
- EventLogPermissionHolder.cs
- MediaEntryAttribute.cs
- LOSFormatter.cs
- DBCommandBuilder.cs
- AccessorTable.cs
- ProviderUtil.cs
- XmlWrappingReader.cs
- CapabilitiesAssignment.cs
- TextFindEngine.cs
- ComboBoxRenderer.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- AnnotationAdorner.cs
- AppDomainAttributes.cs
- SchemaImporterExtension.cs
- _Events.cs
- GuidTagList.cs
- Application.cs
- Win32MouseDevice.cs
- ZipIORawDataFileBlock.cs
- DescendentsWalkerBase.cs
- BoundColumn.cs
- ItemsChangedEventArgs.cs
- CatalogPartChrome.cs
- ScriptManagerProxy.cs
- KeyBinding.cs
- Font.cs
- NullableDoubleAverageAggregationOperator.cs
- DragEvent.cs
- AggregateNode.cs
- HandleCollector.cs
- Vector.cs
- SocketException.cs
- TriggerActionCollection.cs
- SettingsBase.cs
- RoleService.cs
- StartUpEventArgs.cs
- XmlSchemaSequence.cs
- metrodevice.cs
- FakeModelItemImpl.cs
- ProfileEventArgs.cs
- Color.cs
- MeshGeometry3D.cs
- ToolbarAUtomationPeer.cs
- SystemWebSectionGroup.cs
- ToolStripDropTargetManager.cs
- Geometry3D.cs
- X509CertificateTrustedIssuerElement.cs
- Point4D.cs
- EntitySet.cs
- FormsAuthenticationTicket.cs
- PrimitiveSchema.cs
- BitmapImage.cs
- SchemaElementDecl.cs
- XPathDocumentIterator.cs
- AQNBuilder.cs