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
- LinkedResource.cs
- Point3DCollection.cs
- _NetworkingPerfCounters.cs
- ControlParameter.cs
- ElementInit.cs
- DataRelationPropertyDescriptor.cs
- SessionIDManager.cs
- WindowProviderWrapper.cs
- XmlSchemas.cs
- PointAnimationBase.cs
- WinEventWrap.cs
- BStrWrapper.cs
- ComplexLine.cs
- ImageField.cs
- OutputCache.cs
- SessionStateItemCollection.cs
- ConnectionManagementElementCollection.cs
- MatrixAnimationUsingPath.cs
- InkCanvasInnerCanvas.cs
- PageThemeBuildProvider.cs
- ImportStoreException.cs
- EntitySetBase.cs
- LinqDataSourceDisposeEventArgs.cs
- CallSiteHelpers.cs
- ArglessEventHandlerProxy.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- GeometryGroup.cs
- SettingsPropertyCollection.cs
- XmlNotation.cs
- Point3DValueSerializer.cs
- LongSumAggregationOperator.cs
- Schema.cs
- _ContextAwareResult.cs
- Rule.cs
- AddInDeploymentState.cs
- MessageEncodingBindingElement.cs
- SourceChangedEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- basevalidator.cs
- SqlDelegatedTransaction.cs
- TypeKeyValue.cs
- WCFServiceClientProxyGenerator.cs
- PermissionSetTriple.cs
- ConfigPathUtility.cs
- StructuralType.cs
- TextLineBreak.cs
- KeyMatchBuilder.cs
- ListViewEditEventArgs.cs
- InputElement.cs
- ByteStack.cs
- ThreadPool.cs
- InfoCardProofToken.cs
- Table.cs
- ExpressionBinding.cs
- RenderDataDrawingContext.cs
- SkewTransform.cs
- RegexReplacement.cs
- UndoEngine.cs
- SharedPersonalizationStateInfo.cs
- DataRowChangeEvent.cs
- DigestComparer.cs
- StrokeSerializer.cs
- oledbmetadatacollectionnames.cs
- DbDataSourceEnumerator.cs
- VariableModifiersHelper.cs
- ResourceReferenceExpression.cs
- ItemCheckedEvent.cs
- DelegateArgument.cs
- SQLBytes.cs
- ReadOnlyTernaryTree.cs
- ConditionalExpression.cs
- ConstructorBuilder.cs
- BaseCodePageEncoding.cs
- CustomTypeDescriptor.cs
- SubMenuStyleCollection.cs
- BulletDecorator.cs
- __ComObject.cs
- DataGridViewCheckBoxColumn.cs
- Zone.cs
- ServicePoint.cs
- PrincipalPermission.cs
- OleDbParameter.cs
- ControlCollection.cs
- SqlTriggerAttribute.cs
- StorageEntityTypeMapping.cs
- SecurityTokenRequirement.cs
- AutomationElementCollection.cs
- SchemaImporterExtension.cs
- ToolBarButtonClickEvent.cs
- SmtpException.cs
- DesignTimeXamlWriter.cs
- Win32.cs
- HostingPreferredMapPath.cs
- PackUriHelper.cs
- VisualTreeHelper.cs
- DynamicDataRoute.cs
- LogSwitch.cs
- DataFieldConverter.cs
- ProtectedProviderSettings.cs
- IISMapPath.cs