Code:
/ FX-1434 / FX-1434 / 1.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
- SourceInterpreter.cs
- DeadCharTextComposition.cs
- SecureEnvironment.cs
- TreeViewImageIndexConverter.cs
- ListItemViewAttribute.cs
- SqlMetaData.cs
- WebPartHeaderCloseVerb.cs
- SqlDataReaderSmi.cs
- Track.cs
- HttpCookiesSection.cs
- _CacheStreams.cs
- CompilerGlobalScopeAttribute.cs
- WebZone.cs
- FormatException.cs
- IBuiltInEvidence.cs
- CfgParser.cs
- WorkflowOwnerAsyncResult.cs
- RNGCryptoServiceProvider.cs
- VisualTreeUtils.cs
- Line.cs
- UInt32.cs
- SqlClientFactory.cs
- QuadraticBezierSegment.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- ReadOnlyKeyedCollection.cs
- WriterOutput.cs
- Expr.cs
- EntityDataSourceContainerNameConverter.cs
- PixelShader.cs
- NameTable.cs
- GenericsNotImplementedException.cs
- TerminatorSinks.cs
- DefaultAutoFieldGenerator.cs
- FullTrustAssembly.cs
- WsatRegistrationHeader.cs
- ConstructorNeedsTagAttribute.cs
- CacheRequest.cs
- ObjectQuery.cs
- HttpProfileGroupBase.cs
- SmtpSection.cs
- GetFileNameResult.cs
- HostProtectionException.cs
- DataTableReader.cs
- Helpers.cs
- CompilationLock.cs
- Point3DAnimationBase.cs
- XDeferredAxisSource.cs
- Perspective.cs
- EntityContainerEntitySetDefiningQuery.cs
- TCEAdapterGenerator.cs
- MetaChildrenColumn.cs
- BrowserCapabilitiesFactory.cs
- HandleCollector.cs
- CommunicationObjectManager.cs
- CultureSpecificCharacterBufferRange.cs
- IntegrationExceptionEventArgs.cs
- CachedBitmap.cs
- Scalars.cs
- ConversionContext.cs
- UIElement3DAutomationPeer.cs
- CellCreator.cs
- BuildTopDownAttribute.cs
- Literal.cs
- GridViewRowPresenter.cs
- CrossAppDomainChannel.cs
- TdsEnums.cs
- GridViewRow.cs
- XmlAttributes.cs
- PointAnimation.cs
- FileUtil.cs
- XpsDocument.cs
- VersionValidator.cs
- XomlCompilerHelpers.cs
- EvidenceTypeDescriptor.cs
- GeneralTransform2DTo3D.cs
- ToolStripItem.cs
- PopupControlService.cs
- TabItem.cs
- RootCodeDomSerializer.cs
- PersistChildrenAttribute.cs
- StopStoryboard.cs
- AtomicFile.cs
- ConnectionModeReader.cs
- SR.Designer.cs
- DesignerDataConnection.cs
- HttpInputStream.cs
- GraphicsPath.cs
- PrintPreviewControl.cs
- Stackframe.cs
- GeometryGroup.cs
- WebPartMovingEventArgs.cs
- ConfigurationManagerInternal.cs
- HttpVersion.cs
- StickyNoteContentControl.cs
- ConfigurationStrings.cs
- ProxyElement.cs
- EncodingNLS.cs
- PrimarySelectionAdorner.cs
- FormViewUpdatedEventArgs.cs
- brushes.cs