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
- GridViewCommandEventArgs.cs
- SwitchAttribute.cs
- SqlDataSourceDesigner.cs
- HtmlString.cs
- SqlDataSourceParameterParser.cs
- UniqueIdentifierService.cs
- ProfilePropertyMetadata.cs
- DataGridViewMethods.cs
- DebugTraceHelper.cs
- ToolStripDropDownMenu.cs
- DriveNotFoundException.cs
- Parallel.cs
- RequestCachingSection.cs
- Win32Native.cs
- FileDialogCustomPlacesCollection.cs
- PersonalizablePropertyEntry.cs
- ComplexTypeEmitter.cs
- InteropEnvironment.cs
- SchemaHelper.cs
- Matrix3DStack.cs
- SQLDoubleStorage.cs
- controlskin.cs
- XmlAnyElementAttributes.cs
- DbParameterHelper.cs
- WebUtil.cs
- DesignerActionUIService.cs
- Error.cs
- SymmetricCryptoHandle.cs
- StrokeCollectionDefaultValueFactory.cs
- ProcessModelInfo.cs
- IsolatedStorageFilePermission.cs
- ConnectionStringsExpressionEditor.cs
- WebDisplayNameAttribute.cs
- SatelliteContractVersionAttribute.cs
- BufferModeSettings.cs
- CollectionView.cs
- KerberosTicketHashIdentifierClause.cs
- IgnoreDataMemberAttribute.cs
- WarningException.cs
- login.cs
- WebHttpEndpoint.cs
- ClientEventManager.cs
- WrappedIUnknown.cs
- BitmapVisualManager.cs
- MouseGesture.cs
- SourceChangedEventArgs.cs
- AutoGeneratedFieldProperties.cs
- DiscreteKeyFrames.cs
- Tool.cs
- Debug.cs
- CacheSection.cs
- OraclePermissionAttribute.cs
- FormsAuthenticationUserCollection.cs
- ConfigErrorGlyph.cs
- ValueType.cs
- InlineObject.cs
- SHA384Cng.cs
- Baml2006KnownTypes.cs
- LongAverageAggregationOperator.cs
- ListItem.cs
- WbmpConverter.cs
- AnnotationComponentChooser.cs
- MultiSelectRootGridEntry.cs
- ResolveNameEventArgs.cs
- PageCatalogPartDesigner.cs
- ErrorLog.cs
- XmlPropertyBag.cs
- TextServicesCompartmentEventSink.cs
- MultilineStringConverter.cs
- ListItemCollection.cs
- DummyDataSource.cs
- CalendarDataBindingHandler.cs
- TextCompositionEventArgs.cs
- HtmlHead.cs
- ObjectNotFoundException.cs
- GridItem.cs
- GenericAuthenticationEventArgs.cs
- SlipBehavior.cs
- ObjectSecurity.cs
- TransformProviderWrapper.cs
- MarginCollapsingState.cs
- ClientCredentialsSecurityTokenManager.cs
- RepeaterItemCollection.cs
- LinkDesigner.cs
- UpdatePanelControlTrigger.cs
- StateDesignerConnector.cs
- SharedPerformanceCounter.cs
- ToolboxComponentsCreatedEventArgs.cs
- ResXBuildProvider.cs
- PolicyLevel.cs
- SQLInt16.cs
- Subset.cs
- HttpVersion.cs
- HttpApplication.cs
- HtmlControl.cs
- SqlNodeTypeOperators.cs
- ActivationWorker.cs
- SubclassTypeValidatorAttribute.cs
- XmlHierarchyData.cs
- FrameworkContentElement.cs