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
- NetworkAddressChange.cs
- TokenizerHelper.cs
- BypassElementCollection.cs
- UnmanagedBitmapWrapper.cs
- FormView.cs
- MetadataItem_Static.cs
- SafeNativeMethods.cs
- QueryAsyncResult.cs
- Literal.cs
- GroupBoxAutomationPeer.cs
- DataReaderContainer.cs
- ConnectionStringSettings.cs
- Control.cs
- IndexingContentUnit.cs
- IISMapPath.cs
- OrderedDictionary.cs
- XmlRootAttribute.cs
- CacheMode.cs
- Membership.cs
- EncryptedReference.cs
- DelegateBodyWriter.cs
- PreProcessor.cs
- MonthChangedEventArgs.cs
- SoapMessage.cs
- RouteParameter.cs
- NodeInfo.cs
- XMLSchema.cs
- RoutedUICommand.cs
- DataGridViewHitTestInfo.cs
- DataServiceExpressionVisitor.cs
- GeneralTransform2DTo3DTo2D.cs
- XmlFormatReaderGenerator.cs
- SessionParameter.cs
- DrawTreeNodeEventArgs.cs
- Version.cs
- RijndaelManagedTransform.cs
- XamlWriter.cs
- SearchExpression.cs
- DataTableNewRowEvent.cs
- XmlAnyElementAttributes.cs
- ProjectionPathBuilder.cs
- StateDesigner.TransitionInfo.cs
- ButtonFlatAdapter.cs
- PageFunction.cs
- FontFaceLayoutInfo.cs
- NamespaceInfo.cs
- HandleCollector.cs
- TableCell.cs
- OutputCacheEntry.cs
- DataGridRowEventArgs.cs
- RadialGradientBrush.cs
- CatalogZone.cs
- AppSettingsSection.cs
- LogWriteRestartAreaState.cs
- MappingSource.cs
- PermissionSetEnumerator.cs
- PropertyBuilder.cs
- HybridObjectCache.cs
- LinqDataSourceDeleteEventArgs.cs
- DataPager.cs
- ConfigXmlElement.cs
- SmtpMail.cs
- TaiwanLunisolarCalendar.cs
- StrokeCollectionDefaultValueFactory.cs
- WebReferencesBuildProvider.cs
- FrameworkPropertyMetadata.cs
- TriState.cs
- ZipIOModeEnforcingStream.cs
- TypeForwardedFromAttribute.cs
- StdRegProviderWrapper.cs
- ConfigurationManagerHelper.cs
- VectorKeyFrameCollection.cs
- XmlDataLoader.cs
- FrameworkContentElement.cs
- ProcessModule.cs
- IndicFontClient.cs
- ReaderContextStackData.cs
- QualificationDataItem.cs
- UIInitializationException.cs
- IPCCacheManager.cs
- unsafeIndexingFilterStream.cs
- KernelTypeValidation.cs
- VersionConverter.cs
- IsolatedStorageFile.cs
- OptimisticConcurrencyException.cs
- OdbcTransaction.cs
- IgnoreFlushAndCloseStream.cs
- WebConfigurationFileMap.cs
- DataList.cs
- Font.cs
- CharUnicodeInfo.cs
- ComponentRenameEvent.cs
- StateBag.cs
- ObjectDataSourceDisposingEventArgs.cs
- ResourceDisplayNameAttribute.cs
- UIElement3DAutomationPeer.cs
- ParallelTimeline.cs
- safemediahandle.cs
- SqlFunctionAttribute.cs
- PaintEvent.cs