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
- Monitor.cs
- unsafenativemethodstextservices.cs
- WebEvents.cs
- AssociatedControlConverter.cs
- RequestDescription.cs
- LinkButton.cs
- ParagraphResult.cs
- PageClientProxyGenerator.cs
- ConstrainedDataObject.cs
- TypeDescriptor.cs
- DataGridViewCellCollection.cs
- ArcSegment.cs
- WaveHeader.cs
- RowUpdatedEventArgs.cs
- SubstitutionResponseElement.cs
- LifetimeMonitor.cs
- KeyboardDevice.cs
- PropertyCollection.cs
- NativeCompoundFileAPIs.cs
- ContentType.cs
- UserControl.cs
- CompiledQueryCacheEntry.cs
- CroppedBitmap.cs
- SqlDependencyListener.cs
- StructuredTypeInfo.cs
- BuilderInfo.cs
- XmlMemberMapping.cs
- MatrixAnimationBase.cs
- PolyLineSegment.cs
- ForwardPositionQuery.cs
- CodeObjectCreateExpression.cs
- GridViewRowPresenter.cs
- HwndSubclass.cs
- ProcessStartInfo.cs
- Pool.cs
- ContainerFilterService.cs
- DataGridViewTopLeftHeaderCell.cs
- SqlNodeAnnotation.cs
- Funcletizer.cs
- OwnerDrawPropertyBag.cs
- CommandDevice.cs
- AuthorizationContext.cs
- StringPropertyBuilder.cs
- ListViewSortEventArgs.cs
- MonitoringDescriptionAttribute.cs
- EntityDataSourceSelectedEventArgs.cs
- ParameterBuilder.cs
- EventLogPermissionAttribute.cs
- InstanceLockedException.cs
- ScrollEvent.cs
- HttpClientCertificate.cs
- TrackingMemoryStream.cs
- FontUnitConverter.cs
- DefaultValueTypeConverter.cs
- XpsImage.cs
- OptimizerPatterns.cs
- MemoryMappedFileSecurity.cs
- ClassValidator.cs
- DbProviderManifest.cs
- TimeEnumHelper.cs
- Drawing.cs
- InterleavedZipPartStream.cs
- AutoResizedEvent.cs
- Pair.cs
- BuildProvidersCompiler.cs
- ScrollBar.cs
- DefaultObjectMappingItemCollection.cs
- DataGridViewColumnCollectionEditor.cs
- SecurityCriticalDataForSet.cs
- LogicalTreeHelper.cs
- Span.cs
- OutputCacheProfileCollection.cs
- AsynchronousChannel.cs
- TrustLevel.cs
- WebPartMenu.cs
- OutOfProcStateClientManager.cs
- Vector3DValueSerializer.cs
- Range.cs
- IPGlobalProperties.cs
- RoleGroup.cs
- PermissionListSet.cs
- BamlLocalizableResourceKey.cs
- CodeNamespace.cs
- HtmlInputReset.cs
- SctClaimSerializer.cs
- Types.cs
- RectIndependentAnimationStorage.cs
- Regex.cs
- RawAppCommandInputReport.cs
- RestHandlerFactory.cs
- FontUnit.cs
- RbTree.cs
- GroupStyle.cs
- DataBindingExpressionBuilder.cs
- HtmlToClrEventProxy.cs
- DescriptionAttribute.cs
- Transform.cs
- Stack.cs
- MemberHolder.cs
- SchemaCollectionPreprocessor.cs