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
- GACMembershipCondition.cs
- MissingSatelliteAssemblyException.cs
- CodeSnippetCompileUnit.cs
- BitmapDownload.cs
- DropShadowBitmapEffect.cs
- BinaryCommonClasses.cs
- RayMeshGeometry3DHitTestResult.cs
- SafeWaitHandle.cs
- MailMessageEventArgs.cs
- GridViewEditEventArgs.cs
- Matrix3DValueSerializer.cs
- SelectedPathEditor.cs
- NavigatorOutput.cs
- TempFiles.cs
- HierarchicalDataSourceControl.cs
- RepeatInfo.cs
- WindowsToolbarAsMenu.cs
- ObjectReferenceStack.cs
- compensatingcollection.cs
- SiteMapNodeItem.cs
- ExpressionPrefixAttribute.cs
- TextRange.cs
- BlurBitmapEffect.cs
- BamlRecordReader.cs
- DiscoveryMessageSequence11.cs
- ProtocolsInstallComponent.cs
- HtmlTable.cs
- CodeMethodReturnStatement.cs
- EndpointConfigContainer.cs
- OdbcPermission.cs
- EntityConnection.cs
- XmlIlVisitor.cs
- PropertyBuilder.cs
- BrowserInteropHelper.cs
- Comparer.cs
- DecoderExceptionFallback.cs
- DataViewManager.cs
- COM2Enum.cs
- CollectionChangedEventManager.cs
- DataGridLinkButton.cs
- EastAsianLunisolarCalendar.cs
- LogAppendAsyncResult.cs
- HttpVersion.cs
- SwitchAttribute.cs
- WindowsGraphics.cs
- CodePageEncoding.cs
- PriorityBinding.cs
- TemplateXamlParser.cs
- SchemaImporterExtensionsSection.cs
- sqlstateclientmanager.cs
- FocusTracker.cs
- ApplicationId.cs
- Missing.cs
- SafeViewOfFileHandle.cs
- PropertyGridCommands.cs
- DbgCompiler.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- TdsParserSafeHandles.cs
- RegistryPermission.cs
- SpeechDetectedEventArgs.cs
- CqlParser.cs
- TextDecorationLocationValidation.cs
- ClientBuildManagerCallback.cs
- CallbackException.cs
- SectionXmlInfo.cs
- FocusTracker.cs
- CodeObject.cs
- PerformanceCounterManager.cs
- XNodeValidator.cs
- TemplateBamlTreeBuilder.cs
- VerificationAttribute.cs
- DefaultTraceListener.cs
- BulletDecorator.cs
- ObjectQuery_EntitySqlExtensions.cs
- SafeUserTokenHandle.cs
- SelectionRangeConverter.cs
- XsdSchemaFileEditor.cs
- DoubleAverageAggregationOperator.cs
- ByValueEqualityComparer.cs
- ExpressionBinding.cs
- GeneralTransform.cs
- DataTableCollection.cs
- ZipIOExtraField.cs
- TdsParser.cs
- DefaultTextStore.cs
- CodeComment.cs
- TypeSystemProvider.cs
- RootBrowserWindowProxy.cs
- DataReaderContainer.cs
- BindUriHelper.cs
- ConnectionsZoneDesigner.cs
- XmlSchemaValidator.cs
- Focus.cs
- BypassElement.cs
- Timeline.cs
- WindowsTitleBar.cs
- ObservableDictionary.cs
- TextPointer.cs
- EditorPart.cs
- Brush.cs