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
- RelationshipFixer.cs
- EncodingInfo.cs
- EmptyEnumerator.cs
- Sql8ExpressionRewriter.cs
- SetStateEventArgs.cs
- ConfigurationValue.cs
- RichTextBoxConstants.cs
- FixedTextPointer.cs
- ModuleBuilderData.cs
- LogReservationCollection.cs
- GenericIdentity.cs
- SerialErrors.cs
- FixedFlowMap.cs
- ProcessInfo.cs
- WebPartExportVerb.cs
- PartialList.cs
- UriTemplateCompoundPathSegment.cs
- FrameDimension.cs
- WorkflowService.cs
- DrawingServices.cs
- WS2007FederationHttpBindingElement.cs
- NavigatingCancelEventArgs.cs
- TemplatePagerField.cs
- MultitargetingHelpers.cs
- TypeLoadException.cs
- SymLanguageVendor.cs
- MethodRental.cs
- TreeSet.cs
- TreeNodeStyleCollection.cs
- NativeMethods.cs
- SpanIndex.cs
- Matrix3DConverter.cs
- StrokeIntersection.cs
- Utility.cs
- SelectedGridItemChangedEvent.cs
- NotImplementedException.cs
- Types.cs
- ServiceModelStringsVersion1.cs
- HttpRuntime.cs
- ErrorFormatterPage.cs
- GifBitmapEncoder.cs
- Stack.cs
- ClaimSet.cs
- DBAsyncResult.cs
- NavigationProperty.cs
- Size.cs
- ChannelServices.cs
- XmlAttribute.cs
- SchemaExporter.cs
- DataGridViewHeaderCell.cs
- PointConverter.cs
- CheckBox.cs
- XPathEmptyIterator.cs
- SafeProcessHandle.cs
- PopOutPanel.cs
- FormsAuthenticationUser.cs
- GeometryGroup.cs
- LocalizationComments.cs
- DataBindingCollection.cs
- TimelineClockCollection.cs
- XPathParser.cs
- FilterException.cs
- MetadataPropertyvalue.cs
- GestureRecognitionResult.cs
- FontCollection.cs
- ThreadLocal.cs
- DateTimeConverter.cs
- uribuilder.cs
- ReaderOutput.cs
- CryptographicAttribute.cs
- FullTextBreakpoint.cs
- ListView.cs
- ContractListAdapter.cs
- StorageComplexTypeMapping.cs
- DataServiceClientException.cs
- ProfileGroupSettings.cs
- XamlToRtfWriter.cs
- _WebProxyDataBuilder.cs
- EventLogPermission.cs
- Monitor.cs
- SqlNodeAnnotation.cs
- SpeechRecognizer.cs
- InkPresenterAutomationPeer.cs
- TextFormatterHost.cs
- ToolStripPanelRenderEventArgs.cs
- WinFormsSecurity.cs
- DecoderFallbackWithFailureFlag.cs
- DeflateEmulationStream.cs
- DrawingImage.cs
- QilFactory.cs
- DiscoveryInnerClientAdhoc11.cs
- panel.cs
- dataprotectionpermission.cs
- XmlSerializerAssemblyAttribute.cs
- TransactionFlowBindingElement.cs
- ErrorInfoXmlDocument.cs
- SpotLight.cs
- PropertyAccessVisitor.cs
- PropertyKey.cs
- ServiceDefaults.cs