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
- GroupQuery.cs
- SByteStorage.cs
- JsonCollectionDataContract.cs
- RegistrationServices.cs
- WinHttpWebProxyFinder.cs
- ValueUnavailableException.cs
- TokenFactoryFactory.cs
- CapabilitiesPattern.cs
- RegisteredHiddenField.cs
- Events.cs
- IgnorePropertiesAttribute.cs
- ConfigXmlElement.cs
- TimelineCollection.cs
- TypeDependencyAttribute.cs
- SqlCacheDependencySection.cs
- Int16AnimationUsingKeyFrames.cs
- IISUnsafeMethods.cs
- TableHeaderCell.cs
- StringUtil.cs
- RsaSecurityTokenAuthenticator.cs
- State.cs
- TextTreeRootNode.cs
- ETagAttribute.cs
- ObjectListItem.cs
- ScriptManagerProxy.cs
- SqlDuplicator.cs
- HttpServerUtilityWrapper.cs
- CodeCatchClause.cs
- XPathConvert.cs
- StorageConditionPropertyMapping.cs
- StringFreezingAttribute.cs
- PostBackTrigger.cs
- PointLight.cs
- EncryptedXml.cs
- SystemUdpStatistics.cs
- HtmlTextArea.cs
- BaseAddressPrefixFilterElementCollection.cs
- ListenerElementsCollection.cs
- Converter.cs
- SystemWebExtensionsSectionGroup.cs
- ObjectStateManager.cs
- TranslateTransform3D.cs
- DBSchemaTable.cs
- nulltextnavigator.cs
- UniqueTransportManagerRegistration.cs
- MemoryMappedViewStream.cs
- iisPickupDirectory.cs
- DataTableReader.cs
- WorkflowServiceHostFactory.cs
- CursorConverter.cs
- ObservableCollectionDefaultValueFactory.cs
- DnsPermission.cs
- AssemblySettingAttributes.cs
- ViewPort3D.cs
- SerializableAttribute.cs
- XmlMapping.cs
- VersionedStream.cs
- DateTimeOffset.cs
- ComponentCommands.cs
- DataColumnCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- ContextMarshalException.cs
- Error.cs
- InternalConfigEventArgs.cs
- XPathChildIterator.cs
- DecoderBestFitFallback.cs
- CompositeCollectionView.cs
- CookielessData.cs
- CommandBindingCollection.cs
- GuidConverter.cs
- KeyInstance.cs
- TextModifierScope.cs
- SettingsBase.cs
- HttpConfigurationSystem.cs
- PropertyNames.cs
- EntityTemplateUserControl.cs
- StorageBasedPackageProperties.cs
- MenuItemStyleCollection.cs
- MemberPath.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- control.ime.cs
- ISessionStateStore.cs
- StateMachineHelpers.cs
- WebPartZoneAutoFormat.cs
- DesignerAdapterAttribute.cs
- DependencyPropertyKind.cs
- StrongTypingException.cs
- DropShadowBitmapEffect.cs
- DrawListViewItemEventArgs.cs
- QueryHandler.cs
- securestring.cs
- DBConnectionString.cs
- TreeViewImageIndexConverter.cs
- InkCollectionBehavior.cs
- TextDpi.cs
- EffectiveValueEntry.cs
- MatrixAnimationUsingKeyFrames.cs
- LinqDataSourceDisposeEventArgs.cs
- StoreAnnotationsMap.cs
- SafeEventLogReadHandle.cs