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
- XPathDocumentIterator.cs
- DodSequenceMerge.cs
- FamilyMapCollection.cs
- CancelEventArgs.cs
- NativeWindow.cs
- DataGridViewHitTestInfo.cs
- StylusLogic.cs
- SqlTrackingQuery.cs
- MonitoringDescriptionAttribute.cs
- EventDescriptor.cs
- NotEqual.cs
- XomlCompilerResults.cs
- DictionarySectionHandler.cs
- RSACryptoServiceProvider.cs
- RegexParser.cs
- XPathEmptyIterator.cs
- TryExpression.cs
- SystemIPInterfaceStatistics.cs
- _SpnDictionary.cs
- CqlGenerator.cs
- TransactionsSectionGroup.cs
- SiteMapDataSource.cs
- DesignerValidationSummaryAdapter.cs
- BamlRecords.cs
- IDQuery.cs
- ListSortDescriptionCollection.cs
- DPTypeDescriptorContext.cs
- HierarchicalDataSourceControl.cs
- VideoDrawing.cs
- EntityDataReader.cs
- SqlCommandBuilder.cs
- XmlAnyAttributeAttribute.cs
- LinqDataSourceHelper.cs
- NullableConverter.cs
- Solver.cs
- FormViewModeEventArgs.cs
- ProfilePropertyNameValidator.cs
- MissingMethodException.cs
- ExportOptions.cs
- TextRangeEditLists.cs
- PbrsForward.cs
- LocatorBase.cs
- XmlBuffer.cs
- GenerateHelper.cs
- GenericXmlSecurityTokenAuthenticator.cs
- BitmapCodecInfo.cs
- ColorIndependentAnimationStorage.cs
- CheckBox.cs
- FullTextBreakpoint.cs
- StorageAssociationSetMapping.cs
- DataGridViewImageColumn.cs
- VisualTarget.cs
- WebProxyScriptElement.cs
- EntitySet.cs
- util.cs
- XmlSchemaProviderAttribute.cs
- VoiceSynthesis.cs
- ValueQuery.cs
- InvocationExpression.cs
- PageCodeDomTreeGenerator.cs
- SHA512.cs
- ParameterCollection.cs
- UpdatePanelTrigger.cs
- BasicCommandTreeVisitor.cs
- ExpressionBuilder.cs
- PolyBezierSegmentFigureLogic.cs
- TdsParser.cs
- PresentationAppDomainManager.cs
- SurrogateEncoder.cs
- EntitySqlQueryState.cs
- TickBar.cs
- SkinIDTypeConverter.cs
- SqlTriggerContext.cs
- cryptoapiTransform.cs
- DBNull.cs
- NumberFormatInfo.cs
- CounterCreationData.cs
- HtmlHistory.cs
- TableProviderWrapper.cs
- WebPartConnectionsCloseVerb.cs
- DataGridViewAddColumnDialog.cs
- CheckBoxAutomationPeer.cs
- VirtualizedItemProviderWrapper.cs
- ClosureBinding.cs
- LogEntryDeserializer.cs
- CompositeDataBoundControl.cs
- SoapAttributeOverrides.cs
- MetadataException.cs
- WebSysDescriptionAttribute.cs
- dataprotectionpermission.cs
- DetailsViewInsertedEventArgs.cs
- StateWorkerRequest.cs
- TdsParserHelperClasses.cs
- InkCanvasFeedbackAdorner.cs
- ApplicationBuildProvider.cs
- TypeListConverter.cs
- XmlObjectSerializerContext.cs
- Site.cs
- StringSource.cs
- TypeContext.cs