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
- MaterializeFromAtom.cs
- SchemaTableColumn.cs
- HwndAppCommandInputProvider.cs
- DbDataAdapter.cs
- FixedBufferAttribute.cs
- StringInfo.cs
- LinqToSqlWrapper.cs
- SimplePropertyEntry.cs
- LinearKeyFrames.cs
- FontStretch.cs
- NativeMethods.cs
- CompoundFileDeflateTransform.cs
- CodeMemberMethod.cs
- LinkLabel.cs
- HtmlHead.cs
- ModuleBuilderData.cs
- AttributeData.cs
- ListBoxChrome.cs
- UserPersonalizationStateInfo.cs
- TdsEnums.cs
- XmlMemberMapping.cs
- ServiceHostFactory.cs
- SkinIDTypeConverter.cs
- SqlDataSourceView.cs
- BooleanExpr.cs
- GridView.cs
- TickBar.cs
- DataSysAttribute.cs
- ApplicationServicesHostFactory.cs
- TreeNodeMouseHoverEvent.cs
- XmlElementCollection.cs
- XmlIgnoreAttribute.cs
- SiteMapNodeCollection.cs
- WindowsContainer.cs
- SqlTriggerContext.cs
- ThicknessConverter.cs
- ImportContext.cs
- RegexCompilationInfo.cs
- ListViewUpdatedEventArgs.cs
- XmlSchemaComplexType.cs
- BufferModeSettings.cs
- RegexCompilationInfo.cs
- OleDbStruct.cs
- EventLogTraceListener.cs
- ReferencedAssembly.cs
- XmlWrappingReader.cs
- XmlSerializableWriter.cs
- Operator.cs
- SingleAnimation.cs
- SkinIDTypeConverter.cs
- RuntimeConfig.cs
- Vector3DConverter.cs
- DataGridViewTopRowAccessibleObject.cs
- InstalledVoice.cs
- DocumentXmlWriter.cs
- SemanticResultValue.cs
- ClassHandlersStore.cs
- DependencyObject.cs
- _OSSOCK.cs
- EncoderNLS.cs
- WorkflowMessageEventHandler.cs
- SystemIPInterfaceStatistics.cs
- TreeViewCancelEvent.cs
- ParseHttpDate.cs
- ExtractCollection.cs
- XmlSchemaException.cs
- HwndSource.cs
- ResourceExpression.cs
- CodeAccessSecurityEngine.cs
- EventsTab.cs
- SiteMap.cs
- CodeNamespaceImport.cs
- SystemColors.cs
- CodeChecksumPragma.cs
- ClientConvert.cs
- ServicePrincipalNameElement.cs
- XmlReaderSettings.cs
- MimeParameter.cs
- DataGridViewRowPrePaintEventArgs.cs
- Style.cs
- DebugView.cs
- WebResourceAttribute.cs
- DbModificationCommandTree.cs
- Geometry.cs
- ProtocolsSection.cs
- RelatedImageListAttribute.cs
- TextServicesDisplayAttribute.cs
- RouteItem.cs
- HandlerBase.cs
- SqlClientWrapperSmiStreamChars.cs
- ListDictionaryInternal.cs
- DBPropSet.cs
- WebConfigurationHostFileChange.cs
- dataprotectionpermission.cs
- XmlAnyAttributeAttribute.cs
- handlecollector.cs
- Context.cs
- Int16KeyFrameCollection.cs
- ITreeGenerator.cs
- DropSourceBehavior.cs