Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EmptyElement.cs
- BlobPersonalizationState.cs
- XmlSchemaInclude.cs
- DoubleLink.cs
- ColorDialog.cs
- ToolStripContentPanelRenderEventArgs.cs
- DictionaryBase.cs
- RegexCode.cs
- AccessedThroughPropertyAttribute.cs
- DebugView.cs
- HtmlInputButton.cs
- MouseButtonEventArgs.cs
- InkCanvas.cs
- MemoryMappedView.cs
- SamlEvidence.cs
- ChangePassword.cs
- MouseGestureValueSerializer.cs
- ParameterEditorUserControl.cs
- TableLayoutColumnStyleCollection.cs
- ConfigXmlCDataSection.cs
- versioninfo.cs
- ImmComposition.cs
- LinkedResourceCollection.cs
- RequestCachingSection.cs
- EllipticalNodeOperations.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- AssociationSetEnd.cs
- WebControlAdapter.cs
- DataSourceView.cs
- BitmapDecoder.cs
- HuffmanTree.cs
- CodeAttachEventStatement.cs
- ChangePasswordDesigner.cs
- UnsafeNativeMethods.cs
- TrustManager.cs
- LayoutTableCell.cs
- DecoderExceptionFallback.cs
- Types.cs
- XmlSchemaAttributeGroupRef.cs
- Authorization.cs
- Size3DValueSerializer.cs
- SessionStateSection.cs
- NullableBoolConverter.cs
- InvokeMemberBinder.cs
- DataServiceQueryOfT.cs
- RtfControlWordInfo.cs
- MemberPath.cs
- XPathSingletonIterator.cs
- FixedSOMTableRow.cs
- TaiwanLunisolarCalendar.cs
- TypeReference.cs
- CompilationSection.cs
- Queue.cs
- TableLayoutColumnStyleCollection.cs
- LoginCancelEventArgs.cs
- BinaryConverter.cs
- PersonalizationProviderCollection.cs
- HttpCachePolicyWrapper.cs
- IncrementalReadDecoders.cs
- CodeObject.cs
- LogEntryHeaderSerializer.cs
- UnSafeCharBuffer.cs
- RoutedCommand.cs
- AssertFilter.cs
- SqlMultiplexer.cs
- CorrelationManager.cs
- IsolatedStorageException.cs
- ConstNode.cs
- BitSet.cs
- SerializerDescriptor.cs
- SingleResultAttribute.cs
- ISAPIWorkerRequest.cs
- CopyNodeSetAction.cs
- MessageEncoder.cs
- PageRanges.cs
- ButtonBase.cs
- DictionarySectionHandler.cs
- DataTableExtensions.cs
- GeneralTransform2DTo3D.cs
- BaseConfigurationRecord.cs
- _NegoStream.cs
- TextMarkerSource.cs
- ImageFormatConverter.cs
- MessageSmuggler.cs
- SplashScreen.cs
- __ComObject.cs
- WebPartEditorCancelVerb.cs
- Object.cs
- DrawListViewColumnHeaderEventArgs.cs
- ItemAutomationPeer.cs
- TagPrefixCollection.cs
- GeometryCombineModeValidation.cs
- ToolStripSeparator.cs
- XhtmlBasicPageAdapter.cs
- ResourceReferenceExpressionConverter.cs
- DesignUtil.cs
- AnnotationResourceChangedEventArgs.cs
- Constants.cs
- TreeViewImageIndexConverter.cs
- HtmlElementCollection.cs