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
- HtmlFormWrapper.cs
- PipelineModuleStepContainer.cs
- SecurityResources.cs
- HttpCacheParams.cs
- GridViewColumnHeader.cs
- InlineObject.cs
- HandoffBehavior.cs
- ReflectPropertyDescriptor.cs
- UriScheme.cs
- PropertyManager.cs
- ExpressionBinding.cs
- DSASignatureFormatter.cs
- CodeDomSerializationProvider.cs
- OleDbPropertySetGuid.cs
- FormatterServicesNoSerializableCheck.cs
- FormatterServices.cs
- OperationAbortedException.cs
- RuntimeIdentifierPropertyAttribute.cs
- MetadataWorkspace.cs
- ObfuscateAssemblyAttribute.cs
- WindowsPrincipal.cs
- IndexingContentUnit.cs
- FontDifferentiator.cs
- SoapMessage.cs
- BuildProvider.cs
- codemethodreferenceexpression.cs
- ZipIOExtraFieldElement.cs
- FileRecordSequenceCompletedAsyncResult.cs
- AsymmetricSignatureDeformatter.cs
- ISSmlParser.cs
- CommonObjectSecurity.cs
- ConsumerConnectionPointCollection.cs
- ValueTypeFixupInfo.cs
- FindResponse.cs
- HtmlInputFile.cs
- StatusBar.cs
- FtpRequestCacheValidator.cs
- SymmetricKeyWrap.cs
- CompiledXpathExpr.cs
- CopyOnWriteList.cs
- TemplateKeyConverter.cs
- FixedTextSelectionProcessor.cs
- PointUtil.cs
- XamlReaderHelper.cs
- Msec.cs
- SqlDataReader.cs
- UndoEngine.cs
- XmlWrappingReader.cs
- StringPropertyBuilder.cs
- DataGridViewRowStateChangedEventArgs.cs
- TimeSpanOrInfiniteValidator.cs
- CodeNamespaceImportCollection.cs
- PageBuildProvider.cs
- LayoutTableCell.cs
- XmlReader.cs
- ServiceThrottlingElement.cs
- GridItem.cs
- WinInet.cs
- X509SecurityToken.cs
- ImageListImageEditor.cs
- QueryOpcode.cs
- CookieHandler.cs
- QueryOutputWriterV1.cs
- PatternMatcher.cs
- EdmToObjectNamespaceMap.cs
- XmlCharCheckingWriter.cs
- WebScriptMetadataMessage.cs
- TreeChangeInfo.cs
- FolderLevelBuildProviderCollection.cs
- Math.cs
- RowToFieldTransformer.cs
- IProvider.cs
- ChannelServices.cs
- ReadWriteControlDesigner.cs
- PrimitiveDataContract.cs
- TempFiles.cs
- ElementNotEnabledException.cs
- DynamicMethod.cs
- Win32.cs
- PaginationProgressEventArgs.cs
- IFlowDocumentViewer.cs
- StorageSetMapping.cs
- VirtualizingStackPanel.cs
- ParsedRoute.cs
- EntityTypeEmitter.cs
- ColorAnimationUsingKeyFrames.cs
- HttpContextServiceHost.cs
- PKCS1MaskGenerationMethod.cs
- OdbcStatementHandle.cs
- ControlPaint.cs
- ResourcePart.cs
- RuleSettingsCollection.cs
- PKCS1MaskGenerationMethod.cs
- DrawingAttributes.cs
- SplineKeyFrames.cs
- TcpActivation.cs
- ParameterBinding.cs
- EntityConnectionStringBuilderItem.cs
- RegexCaptureCollection.cs
- CompareInfo.cs