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
- ActivatedMessageQueue.cs
- DrawingAttributeSerializer.cs
- AsyncSerializedWorker.cs
- DataObjectMethodAttribute.cs
- TextEditorTables.cs
- WinFormsComponentEditor.cs
- XmlNullResolver.cs
- ValidationError.cs
- XmlCharacterData.cs
- WbmpConverter.cs
- unsafeIndexingFilterStream.cs
- GuidTagList.cs
- TransportReplyChannelAcceptor.cs
- ItemCollection.cs
- CheckBox.cs
- AbsoluteQuery.cs
- XmlSchemaIdentityConstraint.cs
- ToolStripSplitButton.cs
- ValidatingCollection.cs
- InstancePersistence.cs
- DataGridViewRowsRemovedEventArgs.cs
- Message.cs
- DataRowCollection.cs
- WorkflowApplication.cs
- InputLanguage.cs
- X509SecurityTokenAuthenticator.cs
- FontFaceLayoutInfo.cs
- ObfuscateAssemblyAttribute.cs
- CompiledQueryCacheKey.cs
- Vector3DKeyFrameCollection.cs
- ProfilePropertySettingsCollection.cs
- COAUTHINFO.cs
- CachedCompositeFamily.cs
- DynamicDiscoSearcher.cs
- RuleValidation.cs
- PropertyChangeTracker.cs
- LinearKeyFrames.cs
- MatrixKeyFrameCollection.cs
- OneToOneMappingSerializer.cs
- DelegatedStream.cs
- AppendHelper.cs
- SkipStoryboardToFill.cs
- ISessionStateStore.cs
- InfiniteIntConverter.cs
- DbModificationCommandTree.cs
- DesignerCapabilities.cs
- NTAccount.cs
- TogglePattern.cs
- ForEach.cs
- PackageController.cs
- TransformerInfo.cs
- ComplexBindingPropertiesAttribute.cs
- SimpleWebHandlerParser.cs
- HitTestParameters.cs
- KnownTypesHelper.cs
- XmlILOptimizerVisitor.cs
- GPStream.cs
- TextViewDesigner.cs
- HttpCachePolicyWrapper.cs
- GenericWebPart.cs
- LayoutTable.cs
- JsonSerializer.cs
- Empty.cs
- Tile.cs
- CustomDictionarySources.cs
- exports.cs
- PrincipalPermission.cs
- _BufferOffsetSize.cs
- Wizard.cs
- SqlNotificationRequest.cs
- CatalogPartChrome.cs
- WindowsSolidBrush.cs
- CqlLexerHelpers.cs
- ListGeneralPage.cs
- TargetConverter.cs
- Panel.cs
- XPathMultyIterator.cs
- CacheDependency.cs
- OletxDependentTransaction.cs
- HttpContextWrapper.cs
- ConnectionConsumerAttribute.cs
- SqlDuplicator.cs
- Evaluator.cs
- SafeNativeMethods.cs
- RichTextBoxAutomationPeer.cs
- ObjectDataSourceFilteringEventArgs.cs
- HtmlControlPersistable.cs
- ProfileProvider.cs
- DataListItemCollection.cs
- XmlReflectionMember.cs
- UndirectedGraph.cs
- MissingFieldException.cs
- VariableModifiersHelper.cs
- ThaiBuddhistCalendar.cs
- CombinedGeometry.cs
- ListControl.cs
- SoapDocumentServiceAttribute.cs
- UndoManager.cs
- SqlProvider.cs
- OdbcHandle.cs