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
- Visual3D.cs
- _PooledStream.cs
- SessionStateModule.cs
- SafeBitVector32.cs
- _ConnectionGroup.cs
- ProgressBarBrushConverter.cs
- webproxy.cs
- ProcessHostFactoryHelper.cs
- ProcessModule.cs
- Pointer.cs
- UriTemplateVariablePathSegment.cs
- SystemNetworkInterface.cs
- WebException.cs
- HttpProfileBase.cs
- WindowsToolbar.cs
- DataGridPageChangedEventArgs.cs
- ReadOnlyDictionary.cs
- EnvironmentPermission.cs
- EnumConverter.cs
- XmlSerializerNamespaces.cs
- RoleGroup.cs
- TraceHwndHost.cs
- ContractHandle.cs
- ClientRolePrincipal.cs
- RegistrationServices.cs
- coordinatorfactory.cs
- ObjectFullSpanRewriter.cs
- ScaleTransform.cs
- HitTestDrawingContextWalker.cs
- TiffBitmapEncoder.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- TransformerTypeCollection.cs
- Context.cs
- HttpPostedFile.cs
- OpenTypeLayoutCache.cs
- AnnotationComponentChooser.cs
- Win32KeyboardDevice.cs
- PersonalizationStateInfo.cs
- DataColumnMappingCollection.cs
- GenericWebPart.cs
- XmlFileEditor.cs
- CustomAttributeBuilder.cs
- ReferenceConverter.cs
- ObjectCloneHelper.cs
- PropertyValueChangedEvent.cs
- CapabilitiesAssignment.cs
- XmlDocumentSurrogate.cs
- QilScopedVisitor.cs
- XmlTextReader.cs
- HttpListenerException.cs
- BitmapPalette.cs
- StaticSiteMapProvider.cs
- SqlVersion.cs
- Addressing.cs
- AssemblyResolver.cs
- TrustLevelCollection.cs
- Code.cs
- TypeReference.cs
- Number.cs
- FixedSOMSemanticBox.cs
- FolderBrowserDialogDesigner.cs
- TextRange.cs
- SecureUICommand.cs
- ObjectManager.cs
- ReadOnlyNameValueCollection.cs
- ShutDownListener.cs
- WinFormsSecurity.cs
- activationcontext.cs
- PolygonHotSpot.cs
- FixedFlowMap.cs
- Transform3DGroup.cs
- NativeMethods.cs
- TextSimpleMarkerProperties.cs
- ByteBufferPool.cs
- XmlSchemaSequence.cs
- ISessionStateStore.cs
- LinkedResource.cs
- prompt.cs
- TextBoxDesigner.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- MetadataFile.cs
- FixedHyperLink.cs
- BitSet.cs
- ExpressionWriter.cs
- CodeCompiler.cs
- _NetworkingPerfCounters.cs
- TraceSection.cs
- NavigationWindow.cs
- AccessibilityHelperForVista.cs
- RequiredFieldValidator.cs
- SqlConnectionPoolGroupProviderInfo.cs
- PageSettings.cs
- DefaultHttpHandler.cs
- EndpointConfigContainer.cs
- ModelService.cs
- HeaderedContentControl.cs
- Block.cs
- DescendantBaseQuery.cs
- ResourceWriter.cs
- XmlReaderSettings.cs