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
- TypedAsyncResult.cs
- XmlMemberMapping.cs
- DecimalAnimationUsingKeyFrames.cs
- SmtpSection.cs
- EditorAttribute.cs
- IDispatchConstantAttribute.cs
- UIPropertyMetadata.cs
- MobileControlPersister.cs
- Model3D.cs
- ApplicationInfo.cs
- SpAudioStreamWrapper.cs
- MemoryPressure.cs
- StickyNoteContentControl.cs
- Empty.cs
- OleDbPropertySetGuid.cs
- SqlFacetAttribute.cs
- TypeLibConverter.cs
- CalendarDay.cs
- MenuItemCollectionEditorDialog.cs
- OperationInvokerTrace.cs
- MembershipPasswordException.cs
- DPAPIProtectedConfigurationProvider.cs
- ValueUtilsSmi.cs
- TemplateControlParser.cs
- InternalRelationshipCollection.cs
- OleStrCAMarshaler.cs
- Int32RectValueSerializer.cs
- HtmlWindow.cs
- DictionarySectionHandler.cs
- Brush.cs
- MethodAccessException.cs
- GeneralTransformCollection.cs
- QueryNode.cs
- DetailsViewPagerRow.cs
- ValueUnavailableException.cs
- EncryptedXml.cs
- X500Name.cs
- KeyBinding.cs
- SingleStorage.cs
- ResourcePool.cs
- TreeNodeClickEventArgs.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- TableLayoutStyleCollection.cs
- ManagementBaseObject.cs
- GridViewSelectEventArgs.cs
- Process.cs
- HwndSourceParameters.cs
- TextSelectionHelper.cs
- EntityContainerRelationshipSet.cs
- ClusterUtils.cs
- WebDisplayNameAttribute.cs
- Application.cs
- NameSpaceExtractor.cs
- BinHexDecoder.cs
- EventInfo.cs
- IPAddressCollection.cs
- Geometry3D.cs
- ScaleTransform3D.cs
- TextSegment.cs
- WebPartVerbCollection.cs
- RedistVersionInfo.cs
- EastAsianLunisolarCalendar.cs
- CultureInfo.cs
- Symbol.cs
- MetafileHeader.cs
- HttpResponseBase.cs
- DbModificationCommandTree.cs
- SecuritySessionFilter.cs
- CompositeFontFamily.cs
- VisualBasicSettings.cs
- DependentList.cs
- ExtendedPropertyInfo.cs
- LocatorBase.cs
- UnsafeNativeMethods.cs
- WebResponse.cs
- SkewTransform.cs
- CodeGeneratorOptions.cs
- ObservableCollection.cs
- PersonalizableTypeEntry.cs
- SystemThemeKey.cs
- PcmConverter.cs
- HwndSubclass.cs
- CommandEventArgs.cs
- DateTimeOffset.cs
- CodeGotoStatement.cs
- XmlRootAttribute.cs
- DataGridViewCellFormattingEventArgs.cs
- _SSPIWrapper.cs
- MobileCapabilities.cs
- SqlDataAdapter.cs
- SqlWorkflowInstanceStore.cs
- NominalTypeEliminator.cs
- ThemeableAttribute.cs
- XmlElementAttributes.cs
- UnicastIPAddressInformationCollection.cs
- DrawListViewItemEventArgs.cs
- OleDbError.cs
- MergeEnumerator.cs
- LocatorBase.cs
- PathSegmentCollection.cs