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
- DesignerForm.cs
- IgnoreDataMemberAttribute.cs
- DictionaryEntry.cs
- ObjectParameterCollection.cs
- ZipFileInfo.cs
- MSAANativeProvider.cs
- TextBoxBase.cs
- AsyncOperationContext.cs
- TimeSpanSecondsConverter.cs
- RowSpanVector.cs
- SubpageParaClient.cs
- SymbolMethod.cs
- ContentPlaceHolder.cs
- ForwardPositionQuery.cs
- SoapFaultCodes.cs
- MimeWriter.cs
- XmlDocumentSchema.cs
- ValueUnavailableException.cs
- SafeCryptoHandles.cs
- XmlDataImplementation.cs
- Privilege.cs
- AssociationProvider.cs
- UrlAuthorizationModule.cs
- BookmarkUndoUnit.cs
- localization.cs
- IPHostEntry.cs
- CuspData.cs
- UseLicense.cs
- AppDomainAttributes.cs
- DiagnosticStrings.cs
- StreamInfo.cs
- ParallelTimeline.cs
- TabControl.cs
- WCFServiceClientProxyGenerator.cs
- ResourceDescriptionAttribute.cs
- HostingEnvironmentException.cs
- WriterOutput.cs
- OdbcEnvironmentHandle.cs
- DataException.cs
- UnsignedPublishLicense.cs
- ButtonBase.cs
- CodeObjectCreateExpression.cs
- ElementHost.cs
- ToolStripItemCollection.cs
- TableLayout.cs
- FactoryGenerator.cs
- CounterSampleCalculator.cs
- _WinHttpWebProxyDataBuilder.cs
- ConstructorBuilder.cs
- EditableRegion.cs
- ConfigXmlCDataSection.cs
- PrintingPermissionAttribute.cs
- TableParaClient.cs
- XmlLanguageConverter.cs
- TextBoxBase.cs
- COM2ExtendedBrowsingHandler.cs
- Knowncolors.cs
- XmlSchemaSimpleTypeUnion.cs
- StructuredType.cs
- MessageQueueKey.cs
- TextDpi.cs
- AppSettingsExpressionBuilder.cs
- ValidationPropertyAttribute.cs
- ByeMessageCD1.cs
- IsolatedStorageException.cs
- ApplyImportsAction.cs
- ReliabilityContractAttribute.cs
- CodeExporter.cs
- ProcessThread.cs
- TextEncodedRawTextWriter.cs
- CompModSwitches.cs
- ResourcesChangeInfo.cs
- XhtmlBasicCalendarAdapter.cs
- PartitionedDataSource.cs
- QilPatternFactory.cs
- ToolZone.cs
- RoleGroupCollection.cs
- LocalizedNameDescriptionPair.cs
- TrustManager.cs
- WebPartHelpVerb.cs
- ExpressionBindingCollection.cs
- BufferBuilder.cs
- DataSourceXmlSerializer.cs
- MDIControlStrip.cs
- COM2PropertyBuilderUITypeEditor.cs
- CollectionChangeEventArgs.cs
- FontDifferentiator.cs
- SiteMapSection.cs
- RepeatInfo.cs
- CharKeyFrameCollection.cs
- SqlDependencyUtils.cs
- PropertyValueChangedEvent.cs
- TextServicesContext.cs
- SerializationSectionGroup.cs
- EditingMode.cs
- EntityDataSourceEntitySetNameItem.cs
- MaskedTextBox.cs
- AnimationTimeline.cs
- GridProviderWrapper.cs
- ManipulationDelta.cs