Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InternalsVisibleToAttribute.cs
- Publisher.cs
- StaticExtensionConverter.cs
- PasswordDeriveBytes.cs
- StreamGeometry.cs
- InputProcessorProfilesLoader.cs
- CodeCompiler.cs
- NotificationContext.cs
- PropertyDescriptorComparer.cs
- TreeNode.cs
- XmlSchemaParticle.cs
- XmlWhitespace.cs
- LayoutTableCell.cs
- Vector.cs
- QilLoop.cs
- ReceiveSecurityHeader.cs
- CatchBlock.cs
- SqlGenerator.cs
- XmlSchemaProviderAttribute.cs
- RenameRuleObjectDialog.Designer.cs
- PointIndependentAnimationStorage.cs
- RecognizedWordUnit.cs
- BindingObserver.cs
- GroupStyle.cs
- RenderData.cs
- ConfigurationValue.cs
- TrackBarDesigner.cs
- WebSysDisplayNameAttribute.cs
- securitycriticaldataformultiplegetandset.cs
- CornerRadiusConverter.cs
- SqlProvider.cs
- RegexCompilationInfo.cs
- TimeSpanParse.cs
- ComPlusDiagnosticTraceSchemas.cs
- FormsAuthenticationCredentials.cs
- ExpandableObjectConverter.cs
- RIPEMD160.cs
- MemberDescriptor.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- ToolboxItemAttribute.cs
- Vector3DCollectionConverter.cs
- UnsafeNativeMethods.cs
- PolyBezierSegment.cs
- DocumentViewerHelper.cs
- PointLightBase.cs
- BindingElementExtensionElement.cs
- SqlRowUpdatedEvent.cs
- RegexRunner.cs
- XmlDeclaration.cs
- XmlSchemaComplexContentExtension.cs
- MDIClient.cs
- Matrix3D.cs
- RepeatButtonAutomationPeer.cs
- PageThemeParser.cs
- SectionVisual.cs
- InkPresenter.cs
- _UriSyntax.cs
- ThreadStartException.cs
- RubberbandSelector.cs
- DeferredElementTreeState.cs
- StaticSiteMapProvider.cs
- Trigger.cs
- basenumberconverter.cs
- ToolTipAutomationPeer.cs
- ColorMatrix.cs
- ControlBindingsCollection.cs
- ToolBar.cs
- FieldTemplateFactory.cs
- Geometry3D.cs
- LinqExpressionNormalizer.cs
- PageTheme.cs
- BindingExpression.cs
- GeometryDrawing.cs
- ClientBuildManager.cs
- Pointer.cs
- TabControlToolboxItem.cs
- DataSourceExpression.cs
- UrlMappingsSection.cs
- ValidatorCompatibilityHelper.cs
- ClickablePoint.cs
- GeneralTransform3DTo2D.cs
- CommandHelpers.cs
- SqlCacheDependencySection.cs
- AdornerLayer.cs
- TextAnchor.cs
- StaticExtension.cs
- MetadataWorkspace.cs
- SamlSecurityToken.cs
- TakeQueryOptionExpression.cs
- Attachment.cs
- ProxyGenerationError.cs
- PhonemeEventArgs.cs
- WSTrustFeb2005.cs
- Literal.cs
- DataSysAttribute.cs
- ResXBuildProvider.cs
- QueryComponents.cs
- DaylightTime.cs
- RawTextInputReport.cs
- ApplicationActivator.cs