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
- IdentityManager.cs
- RowsCopiedEventArgs.cs
- HitTestWithPointDrawingContextWalker.cs
- AsyncCompletedEventArgs.cs
- ExtendedProtectionPolicyTypeConverter.cs
- SqlGenerator.cs
- SplineKeyFrames.cs
- InternalControlCollection.cs
- Pens.cs
- OleDbStruct.cs
- ToolStripPanel.cs
- Monitor.cs
- Pointer.cs
- HttpBrowserCapabilitiesWrapper.cs
- SafeCloseHandleCritical.cs
- ListDesigner.cs
- CounterCreationData.cs
- WebServiceParameterData.cs
- Merger.cs
- AtlasWeb.Designer.cs
- TypeConverterHelper.cs
- TemplatedMailWebEventProvider.cs
- EntityTypeEmitter.cs
- CodeTypeDeclaration.cs
- XmlnsCache.cs
- MatrixTransform.cs
- AutomationPeer.cs
- ToolboxItemLoader.cs
- InheritanceRules.cs
- followingquery.cs
- UrlMapping.cs
- ColorMap.cs
- RulePatternOps.cs
- XmlSerializationGeneratedCode.cs
- FormViewUpdatedEventArgs.cs
- WindowsTreeView.cs
- FixedSOMPageElement.cs
- DigitShape.cs
- CodeNamespace.cs
- UnsafeNetInfoNativeMethods.cs
- XPathNodePointer.cs
- Internal.cs
- GridItemPatternIdentifiers.cs
- XmlSchemaAttributeGroupRef.cs
- Button.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ExtendedPropertyDescriptor.cs
- InvariantComparer.cs
- IPAddress.cs
- RNGCryptoServiceProvider.cs
- RawKeyboardInputReport.cs
- ButtonField.cs
- Point3DAnimationBase.cs
- SqlDataSourceFilteringEventArgs.cs
- ParenExpr.cs
- ToolStripSettings.cs
- BamlLocalizer.cs
- SqlParameterCollection.cs
- VariantWrapper.cs
- ConditionalAttribute.cs
- State.cs
- CompositeDataBoundControl.cs
- XmlSerializerAssemblyAttribute.cs
- WebPartZoneCollection.cs
- EventLogLink.cs
- SynchronizedReadOnlyCollection.cs
- LinkClickEvent.cs
- OleDbWrapper.cs
- BindingGroup.cs
- UInt32.cs
- xmlfixedPageInfo.cs
- Utils.cs
- InvalidPrinterException.cs
- MobileControlPersister.cs
- SpecularMaterial.cs
- HttpResponseWrapper.cs
- Debug.cs
- Viewport3DAutomationPeer.cs
- UnicastIPAddressInformationCollection.cs
- ChameleonKey.cs
- TypedTableHandler.cs
- TrackingServices.cs
- lengthconverter.cs
- QueryRewriter.cs
- TagMapCollection.cs
- GradientStopCollection.cs
- StrokeSerializer.cs
- AppSecurityManager.cs
- ClientProxyGenerator.cs
- ShapingWorkspace.cs
- BaseTypeViewSchema.cs
- DesignerRegion.cs
- ListArgumentProvider.cs
- SchemaImporterExtensionElementCollection.cs
- webbrowsersite.cs
- ByteStream.cs
- _LocalDataStore.cs
- _ChunkParse.cs
- HuffModule.cs
- QueryOutputWriter.cs