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
- DataStreams.cs
- KeyedCollection.cs
- CompressionTransform.cs
- ValueTypeFixupInfo.cs
- XamlStream.cs
- GridViewCancelEditEventArgs.cs
- ToolBarTray.cs
- _LocalDataStoreMgr.cs
- BaseServiceProvider.cs
- HttpCookiesSection.cs
- ISessionStateStore.cs
- CurrentChangedEventManager.cs
- KeyPullup.cs
- Application.cs
- MultipleViewProviderWrapper.cs
- JoinCqlBlock.cs
- ResourceManagerWrapper.cs
- LinqDataSourceInsertEventArgs.cs
- TextBox.cs
- IItemProperties.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WinInetCache.cs
- OciLobLocator.cs
- QueryInterceptorAttribute.cs
- NumberFormatInfo.cs
- TraceRecord.cs
- Int16.cs
- MobileResource.cs
- EntityDataSourceValidationException.cs
- WebPartTransformer.cs
- ViewgenContext.cs
- SecurityDocument.cs
- CustomPopupPlacement.cs
- Bidi.cs
- PolicyException.cs
- FilteredSchemaElementLookUpTable.cs
- SqlCacheDependencySection.cs
- SynchronousSendBindingElement.cs
- DispatcherExceptionEventArgs.cs
- EdmItemCollection.cs
- SecurityPolicySection.cs
- DynamicActivityTypeDescriptor.cs
- UnsafeNativeMethods.cs
- SR.cs
- SpellCheck.cs
- SafeFileHandle.cs
- ServicePointManagerElement.cs
- StorageInfo.cs
- ConfigurationStrings.cs
- DiscriminatorMap.cs
- CommandHelpers.cs
- ListViewItemMouseHoverEvent.cs
- ApplicationDirectoryMembershipCondition.cs
- HierarchicalDataSourceIDConverter.cs
- _SslStream.cs
- SchemaType.cs
- InputLanguageEventArgs.cs
- CompiledIdentityConstraint.cs
- PointHitTestParameters.cs
- SimplePropertyEntry.cs
- BooleanAnimationUsingKeyFrames.cs
- UpdateCommand.cs
- MethodSignatureGenerator.cs
- RuleSetDialog.Designer.cs
- TrackingProfileSerializer.cs
- TreeBuilderXamlTranslator.cs
- DataGrid.cs
- InputLanguageProfileNotifySink.cs
- GeometryCombineModeValidation.cs
- SecureStringHasher.cs
- InvalidateEvent.cs
- TextPatternIdentifiers.cs
- ValueTypeFixupInfo.cs
- ResourceAttributes.cs
- XmlnsDictionary.cs
- ByteAnimationBase.cs
- ExceptionUtil.cs
- Size3D.cs
- ContextDataSourceView.cs
- DetailsViewDeletedEventArgs.cs
- ItemType.cs
- AutomationElement.cs
- TypeInitializationException.cs
- UIElement3DAutomationPeer.cs
- PrePrepareMethodAttribute.cs
- ResXResourceWriter.cs
- BulletedListEventArgs.cs
- datacache.cs
- RelativeSource.cs
- ResourceDefaultValueAttribute.cs
- FixedSOMPageConstructor.cs
- NamespaceList.cs
- ParserContext.cs
- XmlCountingReader.cs
- FixedTextView.cs
- SqlMethodCallConverter.cs
- X509CertificateCollection.cs
- NumberFunctions.cs
- Literal.cs
- RegistrySecurity.cs