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
- DBSqlParserTable.cs
- TextTreeRootNode.cs
- DataRowCollection.cs
- DataRecordInfo.cs
- FontDialog.cs
- CheckBox.cs
- TransactionException.cs
- GlobalizationSection.cs
- ColumnCollectionEditor.cs
- ScriptRegistrationManager.cs
- Win32Native.cs
- ContextInformation.cs
- CalendarDataBindingHandler.cs
- ResolveCriteriaCD1.cs
- CatalogZoneAutoFormat.cs
- DataExpression.cs
- Exception.cs
- XmlComment.cs
- StorageSetMapping.cs
- SqlUserDefinedAggregateAttribute.cs
- FlowPosition.cs
- ListBindableAttribute.cs
- XmlQueryCardinality.cs
- OracleCommandSet.cs
- TransactionFlowBindingElementImporter.cs
- ModifierKeysConverter.cs
- SmtpSection.cs
- WebPartConnectionsCancelEventArgs.cs
- Renderer.cs
- CompilerResults.cs
- DataListItemEventArgs.cs
- XAMLParseException.cs
- ActivityXRefPropertyEditor.cs
- ListManagerBindingsCollection.cs
- Journal.cs
- ReadOnlyAttribute.cs
- MobileErrorInfo.cs
- StrokeCollection2.cs
- ExceptionUtil.cs
- RegexWorker.cs
- AncillaryOps.cs
- ObjectTokenCategory.cs
- LazyTextWriterCreator.cs
- IgnoreFlushAndCloseStream.cs
- serverconfig.cs
- StreamReader.cs
- ISAPIRuntime.cs
- WebPartCollection.cs
- TraceContextRecord.cs
- RootProfilePropertySettingsCollection.cs
- MessageCredentialType.cs
- ExpressionBindingCollection.cs
- AggregateNode.cs
- SqlBuilder.cs
- ObjectStateEntry.cs
- XmlObjectSerializer.cs
- SizeFConverter.cs
- DropSource.cs
- BuildManager.cs
- Subtree.cs
- TextEditorParagraphs.cs
- BinaryMessageFormatter.cs
- OlePropertyStructs.cs
- DataSpaceManager.cs
- FixedSOMTableRow.cs
- CompoundFileStreamReference.cs
- CheckPair.cs
- PackageDigitalSignatureManager.cs
- DetailsViewPageEventArgs.cs
- Tuple.cs
- PropertyKey.cs
- FormParameter.cs
- DocumentSchemaValidator.cs
- RichTextBoxConstants.cs
- ActivityDesignerHighlighter.cs
- NameTable.cs
- SettingsSection.cs
- TagMapInfo.cs
- HttpModuleActionCollection.cs
- HandlerWithFactory.cs
- HitTestDrawingContextWalker.cs
- SystemMulticastIPAddressInformation.cs
- Hyperlink.cs
- ObjectDataSourceView.cs
- WebServiceFaultDesigner.cs
- DataPointer.cs
- Point4D.cs
- Random.cs
- FixedSOMTableCell.cs
- ColorConvertedBitmapExtension.cs
- EncryptRequest.cs
- XPathArrayIterator.cs
- PolicyChain.cs
- EnumValidator.cs
- CodeArrayIndexerExpression.cs
- SqlInfoMessageEvent.cs
- _ProxyChain.cs
- DiscoveryServerProtocol.cs
- SqlDelegatedTransaction.cs
- EditorBrowsableAttribute.cs