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
- GroupBoxRenderer.cs
- GridViewAutoFormat.cs
- TcpSocketManager.cs
- ProcessManager.cs
- ProxyFragment.cs
- WebPartExportVerb.cs
- MergeLocalizationDirectives.cs
- Cursors.cs
- SecurityPolicySection.cs
- ApplicationActivator.cs
- CodeExpressionStatement.cs
- SettingsAttributes.cs
- LayoutUtils.cs
- WmlTextBoxAdapter.cs
- DesignerForm.cs
- CommonXSendMessage.cs
- manifestimages.cs
- _ListenerAsyncResult.cs
- WindowsRichEditRange.cs
- QueryOperationResponseOfT.cs
- DecoderReplacementFallback.cs
- XamlToRtfWriter.cs
- CompilerParameters.cs
- SQLInt32Storage.cs
- KeyedHashAlgorithm.cs
- Image.cs
- LogManagementAsyncResult.cs
- RefreshPropertiesAttribute.cs
- _ListenerRequestStream.cs
- ImmutableDispatchRuntime.cs
- ResourceExpressionBuilder.cs
- CircleHotSpot.cs
- CollectionView.cs
- CatalogPartChrome.cs
- ObjectKeyFrameCollection.cs
- AuthenticationSection.cs
- GB18030Encoding.cs
- SystemResourceHost.cs
- MessageQueueKey.cs
- ServiceNotStartedException.cs
- CodeAttributeDeclarationCollection.cs
- ClientUtils.cs
- PointAnimationUsingKeyFrames.cs
- MultiViewDesigner.cs
- WinInet.cs
- IxmlLineInfo.cs
- ChameleonKey.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DocumentSequenceHighlightLayer.cs
- DataGridViewColumnCollectionEditor.cs
- TypedRowGenerator.cs
- ReversePositionQuery.cs
- EntityType.cs
- WorkflowServiceBuildProvider.cs
- DataKey.cs
- WsatConfiguration.cs
- ReliableDuplexSessionChannel.cs
- ItemCheckedEvent.cs
- Activation.cs
- ellipse.cs
- ApplicationFileParser.cs
- TextRangeEdit.cs
- FragmentQueryKB.cs
- ConnectionManagementElement.cs
- ServiceDeploymentInfo.cs
- WebServiceEndpoint.cs
- EntityRecordInfo.cs
- ObjectPropertyMapping.cs
- EastAsianLunisolarCalendar.cs
- XmlUnspecifiedAttribute.cs
- Vector3DConverter.cs
- BitmapPalettes.cs
- XmlStreamStore.cs
- Int16.cs
- CodeStatementCollection.cs
- HttpProcessUtility.cs
- wgx_render.cs
- KeyFrames.cs
- OdbcConnection.cs
- Ppl.cs
- QueryCacheEntry.cs
- RetriableClipboard.cs
- CodeDomLocalizationProvider.cs
- ToolStripItem.cs
- LeaseManager.cs
- ConcurrencyMode.cs
- RegexFCD.cs
- _TLSstream.cs
- EntryPointNotFoundException.cs
- MDIControlStrip.cs
- BindingsCollection.cs
- CodeNamespaceImportCollection.cs
- FormatVersion.cs
- figurelength.cs
- AddingNewEventArgs.cs
- ViewLoader.cs
- OleDbWrapper.cs
- NullReferenceException.cs
- ScrollChangedEventArgs.cs
- Rotation3DAnimation.cs