Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Activities / Designers / WebServiceFaultDesigner.cs / 1305376 / WebServiceFaultDesigner.cs
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Runtime.Serialization; using System.ComponentModel; using System.ComponentModel.Design; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Workflow.ComponentModel.Compiler; using System.Windows.Forms.Design; using System.Security.Permissions; using System.Drawing; using System.Drawing.Design; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace System.Workflow.Activities { [ActivityDesignerTheme(typeof(WebServiceFaultDesignerTheme))] internal sealed class WebServiceFaultDesigner : ActivityDesigner { #region Properties and Methods protected override void OnActivityChanged(ActivityChangedEventArgs e) { base.OnActivityChanged(e); if (e.Member != null) { // If the receive activity id changed, clear out parameters. if (e.Member.Name == "InputActivityName") { TypeDescriptor.Refresh(e.Activity); } } } #endregion } #region WebServiceFaultDesignerTheme internal sealed class WebServiceFaultDesignerTheme : ActivityDesignerTheme { public WebServiceFaultDesignerTheme(WorkflowTheme theme) : base(theme) { this.ForeColor = Color.FromArgb(0xFF, 0x00, 0x00, 0x00); this.BorderColor = Color.FromArgb(0xFF, 0x94, 0xB6, 0xF7); this.BorderStyle = DashStyle.Solid; this.BackColorStart = Color.FromArgb(0xFF, 0xFF, 0xFF, 0xDF); this.BackColorEnd = Color.FromArgb(0xFF, 0xA5, 0xC3, 0xF7); this.BackgroundStyle = LinearGradientMode.Horizontal; } } #endregion } // 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
- EntityContainerEntitySet.cs
- PropertyDescriptorCollection.cs
- DoubleLink.cs
- XmlSerializerFactory.cs
- FilterException.cs
- DataRelationCollection.cs
- SamlSecurityToken.cs
- GPStream.cs
- XhtmlBasicCalendarAdapter.cs
- ContentValidator.cs
- ProxyAttribute.cs
- SingletonChannelAcceptor.cs
- ManipulationCompletedEventArgs.cs
- CustomPopupPlacement.cs
- SoapExtensionStream.cs
- SpeechSeg.cs
- infer.cs
- SubpageParagraph.cs
- SqlGenericUtil.cs
- TextContainerHelper.cs
- Point3DValueSerializer.cs
- CatalogPartCollection.cs
- HtmlDocument.cs
- UnsafeNativeMethods.cs
- FixedPageStructure.cs
- TextRangeSerialization.cs
- DataGridCellInfo.cs
- EventMappingSettings.cs
- SettingsProviderCollection.cs
- ErrorStyle.cs
- PermissionListSet.cs
- GeometryGroup.cs
- CollaborationHelperFunctions.cs
- HMACSHA512.cs
- ModelItemDictionary.cs
- ScrollPatternIdentifiers.cs
- DefaultAuthorizationContext.cs
- SessionStateContainer.cs
- __TransparentProxy.cs
- MultipartIdentifier.cs
- AdapterDictionary.cs
- Utility.cs
- ResourceDescriptionAttribute.cs
- CacheDict.cs
- WizardPanel.cs
- RegexCaptureCollection.cs
- FormViewCommandEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- FlowNode.cs
- GlyphRunDrawing.cs
- FontStretches.cs
- ObjectNavigationPropertyMapping.cs
- BindingCollection.cs
- KnownAssemblyEntry.cs
- RequestUriProcessor.cs
- StorageEntityTypeMapping.cs
- Switch.cs
- ChooseAction.cs
- CssTextWriter.cs
- BookmarkManager.cs
- DiscoveryServiceExtension.cs
- DrawingAttributesDefaultValueFactory.cs
- XmlSchemaComplexContent.cs
- InputEventArgs.cs
- _CacheStreams.cs
- MethodBuilder.cs
- WeakHashtable.cs
- DataMemberConverter.cs
- BaseAsyncResult.cs
- WebPartManager.cs
- DeflateEmulationStream.cs
- SiteMapNode.cs
- DecoderExceptionFallback.cs
- DataGridViewCheckBoxCell.cs
- ReachIDocumentPaginatorSerializer.cs
- EventListenerClientSide.cs
- Run.cs
- EventDrivenDesigner.cs
- UDPClient.cs
- AdjustableArrowCap.cs
- XamlContextStack.cs
- AnnotationHelper.cs
- BorderGapMaskConverter.cs
- CmsUtils.cs
- EntityDataSourceReferenceGroup.cs
- ZipIOFileItemStream.cs
- HMACRIPEMD160.cs
- CodeActivityMetadata.cs
- TextEffect.cs
- OrderedDictionary.cs
- EdmSchemaAttribute.cs
- COM2PictureConverter.cs
- FixedSOMLineCollection.cs
- ContainerParaClient.cs
- NaturalLanguageHyphenator.cs
- RestrictedTransactionalPackage.cs
- AsyncPostBackTrigger.cs
- InnerItemCollectionView.cs
- ListItemCollection.cs
- DataGridViewSelectedRowCollection.cs