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
- OrderedDictionary.cs
- PrePostDescendentsWalker.cs
- XsdBuilder.cs
- HtmlInputSubmit.cs
- ScrollPattern.cs
- Freezable.cs
- HtmlTextArea.cs
- XmlSerializationReader.cs
- HtmlMobileTextWriter.cs
- NameTable.cs
- XsdCachingReader.cs
- EnvironmentPermission.cs
- TitleStyle.cs
- QueryContinueDragEvent.cs
- TemplateParser.cs
- HttpSocketManager.cs
- ServiceDesigner.xaml.cs
- BoundField.cs
- SqlBulkCopyColumnMappingCollection.cs
- XmlLinkedNode.cs
- CustomWebEventKey.cs
- InfoCardTrace.cs
- ThicknessAnimationUsingKeyFrames.cs
- UserControl.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- RequestTimeoutManager.cs
- SynchronizingStream.cs
- GroupPartitionExpr.cs
- MetadataItemCollectionFactory.cs
- DataRowCollection.cs
- ImageListImageEditor.cs
- _Semaphore.cs
- CaseInsensitiveComparer.cs
- NonParentingControl.cs
- ParameterCollectionEditor.cs
- XPathNavigatorReader.cs
- DataListItem.cs
- _LazyAsyncResult.cs
- SystemColorTracker.cs
- BuildResultCache.cs
- ReadOnlyNameValueCollection.cs
- HyperLink.cs
- ValueUnavailableException.cs
- ClientRoleProvider.cs
- ImageFormatConverter.cs
- RetrieveVirtualItemEventArgs.cs
- Constants.cs
- Win32Native.cs
- EmissiveMaterial.cs
- ChineseLunisolarCalendar.cs
- GenericArgumentsUpdater.cs
- BaseCollection.cs
- NumberFormatInfo.cs
- ConfigXmlWhitespace.cs
- ProcessModelSection.cs
- AnnotationElement.cs
- EntityProviderFactory.cs
- TableLayoutStyle.cs
- WebPartCollection.cs
- RelatedCurrencyManager.cs
- DbParameterCollectionHelper.cs
- OleDbPermission.cs
- ParserContext.cs
- RequestContext.cs
- WindowsGraphics.cs
- XPathPatternParser.cs
- Context.cs
- ConfigXmlAttribute.cs
- HwndProxyElementProvider.cs
- AvtEvent.cs
- ApplicationInfo.cs
- MatrixUtil.cs
- AppDomain.cs
- brushes.cs
- XmlQueryTypeFactory.cs
- TemplateField.cs
- ColumnPropertiesGroup.cs
- FormatConvertedBitmap.cs
- CustomAssemblyResolver.cs
- ListMarkerSourceInfo.cs
- MDIControlStrip.cs
- Geometry3D.cs
- ExpressionBuilder.cs
- SamlDelegatingWriter.cs
- TextPatternIdentifiers.cs
- WebColorConverter.cs
- TransformedBitmap.cs
- KeyPullup.cs
- NumericUpDownAcceleration.cs
- SendActivity.cs
- ResourceType.cs
- PowerStatus.cs
- SetterTriggerConditionValueConverter.cs
- MediaElement.cs
- PieceDirectory.cs
- CompilerWrapper.cs
- Decoder.cs
- HGlobalSafeHandle.cs
- QilParameter.cs
- NetworkInformationPermission.cs