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
- MgmtConfigurationRecord.cs
- StreamGeometry.cs
- HyperLinkField.cs
- Line.cs
- SystemIPInterfaceStatistics.cs
- CorrelationManager.cs
- ActivityExecutor.cs
- CodeIdentifier.cs
- StateMachineSubscriptionManager.cs
- EnumConverter.cs
- WebPartConnection.cs
- PropertyManager.cs
- SingleAnimationBase.cs
- OSFeature.cs
- DelegatedStream.cs
- StopStoryboard.cs
- WindowsSolidBrush.cs
- BamlResourceDeserializer.cs
- Run.cs
- TextAnchor.cs
- ProviderMetadata.cs
- BinaryEditor.cs
- HeaderLabel.cs
- XPathMessageFilterTable.cs
- graph.cs
- MessageContractAttribute.cs
- ResourceSet.cs
- PerformanceCounterScope.cs
- ReachPageContentSerializerAsync.cs
- XmlElementCollection.cs
- IxmlLineInfo.cs
- EnumUnknown.cs
- XmlCountingReader.cs
- WindowVisualStateTracker.cs
- MimeMapping.cs
- BinaryWriter.cs
- GenerateTemporaryTargetAssembly.cs
- CharacterMetricsDictionary.cs
- RotateTransform3D.cs
- ToolStripDropDownMenu.cs
- ISessionStateStore.cs
- ListBoxAutomationPeer.cs
- ConfigurationLocation.cs
- DesignerTransaction.cs
- StrokeDescriptor.cs
- ModelTreeEnumerator.cs
- IISMapPath.cs
- FormViewModeEventArgs.cs
- BinaryExpressionHelper.cs
- SQLGuid.cs
- shaperfactory.cs
- BuildResultCache.cs
- TypeUnloadedException.cs
- EnumConverter.cs
- JobCollate.cs
- _NestedMultipleAsyncResult.cs
- AddInDeploymentState.cs
- HttpCapabilitiesSectionHandler.cs
- BCLDebug.cs
- ChannelServices.cs
- CompilerState.cs
- TextProperties.cs
- UnknownBitmapDecoder.cs
- PageHandlerFactory.cs
- ParserStreamGeometryContext.cs
- XmlSchemaSearchPattern.cs
- DataControlField.cs
- TableLayout.cs
- CopyCodeAction.cs
- LocatorPart.cs
- XmlExpressionDumper.cs
- CacheRequest.cs
- SecurityTokenProvider.cs
- DesignerAttribute.cs
- RIPEMD160.cs
- ZipIOBlockManager.cs
- WindowsTokenRoleProvider.cs
- ProtectedConfigurationSection.cs
- XPathAncestorQuery.cs
- OdbcException.cs
- TypeDescriptorFilterService.cs
- MatrixAnimationUsingKeyFrames.cs
- ProfileModule.cs
- SqlConnectionFactory.cs
- XPathMultyIterator.cs
- ElementNotAvailableException.cs
- DataTableCollection.cs
- PagedDataSource.cs
- NamespaceEmitter.cs
- PermissionToken.cs
- HttpRequest.cs
- IndicShape.cs
- IRCollection.cs
- TextBoxRenderer.cs
- EventDescriptorCollection.cs
- HttpCookiesSection.cs
- XmlObjectSerializerReadContext.cs
- SqlTypesSchemaImporter.cs
- WebPartManagerInternals.cs
- PropertyMapper.cs