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
- TimerElapsedEvenArgs.cs
- JavaScriptSerializer.cs
- BulletedList.cs
- VerticalAlignConverter.cs
- objectquery_tresulttype.cs
- DetailsViewInsertedEventArgs.cs
- OleDbReferenceCollection.cs
- FontUnitConverter.cs
- WindowsTitleBar.cs
- ConfigurationProperty.cs
- AdornerHitTestResult.cs
- EditorPart.cs
- AttributeEmitter.cs
- DuplicateContext.cs
- GenericEnumerator.cs
- ListSourceHelper.cs
- RequestCacheValidator.cs
- UIPropertyMetadata.cs
- PageAdapter.cs
- WebResourceUtil.cs
- AuthenticationSection.cs
- InvokeProviderWrapper.cs
- FacetDescriptionElement.cs
- DataGridViewImageColumn.cs
- SiteMapNodeCollection.cs
- ReliableChannelBinder.cs
- ImageSourceConverter.cs
- Geometry3D.cs
- AuthenticatedStream.cs
- ColorMatrix.cs
- WindowsListViewGroupHelper.cs
- BitmapSourceSafeMILHandle.cs
- BufferedGraphics.cs
- CapabilitiesState.cs
- FileEnumerator.cs
- ClientRoleProvider.cs
- TabPanel.cs
- Command.cs
- prompt.cs
- Model3DCollection.cs
- WebDisplayNameAttribute.cs
- GacUtil.cs
- SpnEndpointIdentityExtension.cs
- iisPickupDirectory.cs
- Mouse.cs
- MetadataWorkspace.cs
- ToolStripOverflowButton.cs
- TouchFrameEventArgs.cs
- Utils.cs
- DataGridViewMethods.cs
- TextDecoration.cs
- RowToFieldTransformer.cs
- StateItem.cs
- SetterBase.cs
- PKCS1MaskGenerationMethod.cs
- TreeViewImageKeyConverter.cs
- SmiRecordBuffer.cs
- GlobalizationSection.cs
- ObjectSet.cs
- Shape.cs
- SerializationException.cs
- HiddenFieldPageStatePersister.cs
- ReaderWriterLock.cs
- DrawingAttributeSerializer.cs
- CurrentChangingEventArgs.cs
- FieldTemplateFactory.cs
- SafeLocalMemHandle.cs
- ContractListAdapter.cs
- StrongNameIdentityPermission.cs
- SqlBooleanizer.cs
- CodeRegionDirective.cs
- IdnMapping.cs
- WebControlParameterProxy.cs
- SmiContextFactory.cs
- XslVisitor.cs
- CodePageUtils.cs
- XmlName.cs
- ValueChangedEventManager.cs
- TextEditorSpelling.cs
- Stackframe.cs
- CallbackValidatorAttribute.cs
- HashFinalRequest.cs
- XMLDiffLoader.cs
- ConfigXmlDocument.cs
- QueryOutputWriter.cs
- GlyphRun.cs
- IndexingContentUnit.cs
- ExtensionsSection.cs
- AliasExpr.cs
- ProxySimple.cs
- NavigationProgressEventArgs.cs
- RuntimeHandles.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlSchemaDocumentation.cs
- ArrangedElementCollection.cs
- DoubleMinMaxAggregationOperator.cs
- NameValueConfigurationElement.cs
- EventDrivenDesigner.cs
- XmlArrayItemAttributes.cs
- MissingMemberException.cs