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
- SpotLight.cs
- versioninfo.cs
- WizardPanel.cs
- ErrorRuntimeConfig.cs
- ListViewInsertionMark.cs
- EpmContentSerializer.cs
- CacheHelper.cs
- Soap.cs
- WebServiceErrorEvent.cs
- SafeLibraryHandle.cs
- FacetValues.cs
- LinqDataSourceDisposeEventArgs.cs
- HandledEventArgs.cs
- DbConnectionClosed.cs
- FileDialogCustomPlaces.cs
- LOSFormatter.cs
- BaseValidatorDesigner.cs
- DesignerVerbCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- GridItemPattern.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- HTMLTextWriter.cs
- ImageIndexConverter.cs
- DataBoundControlDesigner.cs
- UserControlBuildProvider.cs
- DataObjectMethodAttribute.cs
- Properties.cs
- InternalTransaction.cs
- TextEditor.cs
- InvalidFilterCriteriaException.cs
- Lease.cs
- EngineSiteSapi.cs
- DecoderExceptionFallback.cs
- MetadataArtifactLoader.cs
- returneventsaver.cs
- DataGridViewLinkCell.cs
- DbLambda.cs
- HttpPostedFile.cs
- ExternalFile.cs
- WebBrowserProgressChangedEventHandler.cs
- Geometry3D.cs
- WebPartConnectionsCancelVerb.cs
- ServiceBusyException.cs
- SafeEventHandle.cs
- AsyncOperationManager.cs
- ToolStripItemTextRenderEventArgs.cs
- ItemChangedEventArgs.cs
- TdsParameterSetter.cs
- Sentence.cs
- DataObjectMethodAttribute.cs
- LicenseException.cs
- TextBoxLine.cs
- DataGridViewCheckBoxColumn.cs
- TimeSpanSecondsConverter.cs
- SByteConverter.cs
- AsnEncodedData.cs
- InvokeSchedule.cs
- StructuredTypeEmitter.cs
- AddressUtility.cs
- DateTimeSerializationSection.cs
- CngProvider.cs
- XmlSchemas.cs
- DataColumnCollection.cs
- MSAAWinEventWrap.cs
- AdCreatedEventArgs.cs
- DependentList.cs
- Closure.cs
- ExtensionQuery.cs
- CommandLineParser.cs
- Solver.cs
- Publisher.cs
- InternalConfigSettingsFactory.cs
- XmlQuerySequence.cs
- ComUdtElement.cs
- PolicyImporterElement.cs
- CodeExporter.cs
- ExpandableObjectConverter.cs
- StrokeRenderer.cs
- WebPartAddingEventArgs.cs
- StylusPointDescription.cs
- TdsParserSafeHandles.cs
- remotingproxy.cs
- SerializationObjectManager.cs
- CaseStatementProjectedSlot.cs
- BulletedList.cs
- RestHandlerFactory.cs
- DataBoundControlDesigner.cs
- BitmapFrameEncode.cs
- TextOnlyOutput.cs
- NetCodeGroup.cs
- SectionUpdates.cs
- AnonymousIdentificationModule.cs
- VirtualDirectoryMapping.cs
- PackWebRequest.cs
- HandoffBehavior.cs
- XmlDomTextWriter.cs
- AnnotationAdorner.cs
- HttpCachePolicyElement.cs
- SectionInput.cs
- SafeFileHandle.cs