Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- EntityDataSourceSelectedEventArgs.cs
- FontResourceCache.cs
- PropertyDescriptorGridEntry.cs
- CompilerGlobalScopeAttribute.cs
- VBCodeProvider.cs
- MultipartContentParser.cs
- ThicknessConverter.cs
- FontStretches.cs
- CodeCastExpression.cs
- Section.cs
- PropertyTabChangedEvent.cs
- DocumentSequenceHighlightLayer.cs
- ManualResetEvent.cs
- MsmqIntegrationSecurityMode.cs
- _NestedMultipleAsyncResult.cs
- HostExecutionContextManager.cs
- PersistStreamTypeWrapper.cs
- CodeTryCatchFinallyStatement.cs
- RuleSetDialog.Designer.cs
- ClientFormsIdentity.cs
- Latin1Encoding.cs
- WebPartsSection.cs
- Thickness.cs
- XmlILConstructAnalyzer.cs
- DispatcherExceptionFilterEventArgs.cs
- XmlCharCheckingReader.cs
- FontSource.cs
- XPathNodeHelper.cs
- XmlSchemaNotation.cs
- XmlNodeComparer.cs
- _HeaderInfo.cs
- Decorator.cs
- SQLSingleStorage.cs
- AssemblyAssociatedContentFileAttribute.cs
- XmlSerializationGeneratedCode.cs
- OdbcStatementHandle.cs
- GeneratedCodeAttribute.cs
- StylusEditingBehavior.cs
- SqlDependency.cs
- MarkupProperty.cs
- TagNameToTypeMapper.cs
- brushes.cs
- ModuleConfigurationInfo.cs
- FieldAccessException.cs
- XmlUtf8RawTextWriter.cs
- SafeMarshalContext.cs
- PolyBezierSegmentFigureLogic.cs
- DefaultTextStoreTextComposition.cs
- ModuleBuilder.cs
- TokenBasedSetEnumerator.cs
- CompoundFileReference.cs
- EditorBrowsableAttribute.cs
- Annotation.cs
- ManipulationCompletedEventArgs.cs
- BaseCollection.cs
- GridPattern.cs
- PanelContainerDesigner.cs
- MimeObjectFactory.cs
- ElementsClipboardData.cs
- IntAverageAggregationOperator.cs
- UIPropertyMetadata.cs
- Membership.cs
- RandomDelaySendsAsyncResult.cs
- SerializationStore.cs
- InfiniteIntConverter.cs
- Point3D.cs
- StyleCollectionEditor.cs
- EventLogger.cs
- ScriptResourceAttribute.cs
- NetworkInformationException.cs
- MenuItemBinding.cs
- TextProperties.cs
- StyleXamlTreeBuilder.cs
- IDReferencePropertyAttribute.cs
- SiteMapNodeItemEventArgs.cs
- TextSegment.cs
- RequestCacheManager.cs
- DataKeyArray.cs
- WebPartZoneCollection.cs
- AttributedMetaModel.cs
- Clock.cs
- UpdateException.cs
- DesignerTransaction.cs
- tooltip.cs
- DataError.cs
- RtfControls.cs
- Vertex.cs
- XmlAttributeAttribute.cs
- MachineKey.cs
- InstanceCreationEditor.cs
- FrameworkTemplate.cs
- DataServiceRequestArgs.cs
- ScriptRef.cs
- RemoteCryptoSignHashRequest.cs
- ActivityExecutor.cs
- NativeMethods.cs
- CallContext.cs
- SynchronizedRandom.cs
- CharacterMetrics.cs
- BindingCompleteEventArgs.cs