Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / Host / LoadedEvent.cs / 1 / LoadedEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.ComponentModel.Design { using System; using System.Collections; using System.ComponentModel; using System.Design; ////// /// Represents the method that will handle a Loaded event. /// public delegate void LoadedEventHandler(object sender, LoadedEventArgs e); ////// /// Provides additional information for the Loaded event. /// public sealed class LoadedEventArgs : EventArgs { private bool _succeeded; private ICollection _errors; ////// /// Creates a new LoadedEventArgs object. /// public LoadedEventArgs(bool succeeded, ICollection errors) { _succeeded = succeeded; _errors = errors; if (_errors == null) { _errors = new object[0]; } } ////// /// A collection of errors that occurred while /// the designer was loading. /// public ICollection Errors { get { return _errors; } } ////// /// True to indicate the designer load was successful. /// Even successful loads can have errors, if the errors /// were not too servere to prevent the designer from /// loading. /// public bool HasSucceeded { get { return _succeeded; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CheckBoxBaseAdapter.cs
- ValidationErrorCollection.cs
- PkcsMisc.cs
- RelOps.cs
- ExpressionConverter.cs
- RemoteWebConfigurationHostStream.cs
- PerspectiveCamera.cs
- DataBindingList.cs
- SubclassTypeValidatorAttribute.cs
- FormViewInsertedEventArgs.cs
- WebPartConnectionsConnectVerb.cs
- XmlHierarchyData.cs
- RepeaterCommandEventArgs.cs
- CharacterBufferReference.cs
- GroupQuery.cs
- NetworkCredential.cs
- EntityViewContainer.cs
- ServiceCredentials.cs
- UnmanagedBitmapWrapper.cs
- ToolStripItemTextRenderEventArgs.cs
- SystemSounds.cs
- documentsequencetextpointer.cs
- DeclarationUpdate.cs
- CodeStatement.cs
- DataServices.cs
- CodeVariableDeclarationStatement.cs
- RegexCapture.cs
- SqlUserDefinedAggregateAttribute.cs
- CryptoApi.cs
- TextBox.cs
- LinqDataSourceContextEventArgs.cs
- CommandField.cs
- QilIterator.cs
- JoinCqlBlock.cs
- Privilege.cs
- BlobPersonalizationState.cs
- CustomCategoryAttribute.cs
- DataGridItemAutomationPeer.cs
- _NativeSSPI.cs
- PointKeyFrameCollection.cs
- FrameworkPropertyMetadata.cs
- AdornerHitTestResult.cs
- AnnotationComponentChooser.cs
- BaseParaClient.cs
- ReadOnlyDataSourceView.cs
- EncoderParameters.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DependencyObjectType.cs
- DocumentScope.cs
- EasingQuaternionKeyFrame.cs
- PathTooLongException.cs
- BindToObject.cs
- ObjectDataSourceSelectingEventArgs.cs
- DynamicDataExtensions.cs
- DataGridHeaderBorder.cs
- HttpRequest.cs
- SafeHandles.cs
- SiteMapDataSourceView.cs
- EnumValAlphaComparer.cs
- SelectionListComponentEditor.cs
- KeyValuePair.cs
- XmlTypeMapping.cs
- NetStream.cs
- BulletedList.cs
- Descriptor.cs
- XmlCharacterData.cs
- HttpCookiesSection.cs
- IFlowDocumentViewer.cs
- PathSegmentCollection.cs
- FormsAuthenticationConfiguration.cs
- SafeSecurityHandles.cs
- SByteStorage.cs
- DataGridTablesFactory.cs
- CloseCryptoHandleRequest.cs
- RegisteredExpandoAttribute.cs
- TcpSocketManager.cs
- StreamReader.cs
- ZipIOExtraField.cs
- EnlistmentState.cs
- WebPartTransformerAttribute.cs
- BaseHashHelper.cs
- QuaternionAnimationBase.cs
- FontStyleConverter.cs
- UnitySerializationHolder.cs
- RichTextBoxConstants.cs
- KeyConverter.cs
- ExpressionConverter.cs
- GenericAuthenticationEventArgs.cs
- GridItem.cs
- SecurityHelper.cs
- Rights.cs
- AnnotationService.cs
- ComponentCollection.cs
- XPathPatternBuilder.cs
- MyContact.cs
- _CacheStreams.cs
- MatchAllMessageFilter.cs
- Util.cs
- AdornedElementPlaceholder.cs
- WebServiceTypeData.cs