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
- AdornerHitTestResult.cs
- TextEmbeddedObject.cs
- Table.cs
- IsolationInterop.cs
- BitmapEffectGeneralTransform.cs
- __Filters.cs
- BaseParaClient.cs
- NamespaceTable.cs
- Guid.cs
- TypeConverter.cs
- Control.cs
- AppDomainProtocolHandler.cs
- ResourceDescriptionAttribute.cs
- QilStrConcat.cs
- TypeConverterHelper.cs
- SqlTriggerContext.cs
- DbConnectionInternal.cs
- NumberAction.cs
- Attributes.cs
- SelectionItemProviderWrapper.cs
- _LoggingObject.cs
- SQLDecimal.cs
- CancellationState.cs
- XmlUtf8RawTextWriter.cs
- DesignerEditorPartChrome.cs
- Dynamic.cs
- CaseInsensitiveComparer.cs
- UrlAuthorizationModule.cs
- Button.cs
- MutexSecurity.cs
- InvokeBase.cs
- Subset.cs
- DirectoryInfo.cs
- WindowsListViewSubItem.cs
- DataGridTextBox.cs
- XmlCDATASection.cs
- XpsColorContext.cs
- DomainConstraint.cs
- BamlResourceContent.cs
- JournalEntryListConverter.cs
- PenThread.cs
- XPathAncestorIterator.cs
- EntityRecordInfo.cs
- TextServicesManager.cs
- PointF.cs
- FixedSOMPageElement.cs
- ReachDocumentReferenceSerializer.cs
- EditorZoneBase.cs
- WebPartEventArgs.cs
- RemotingAttributes.cs
- DataSourceView.cs
- ButtonBase.cs
- CompilationUtil.cs
- XmlStreamNodeWriter.cs
- Command.cs
- EditingCommands.cs
- DBConnection.cs
- WebHeaderCollection.cs
- SamlAssertion.cs
- SiteMapProvider.cs
- TextEditor.cs
- ToolboxCategory.cs
- CredentialCache.cs
- TaskForm.cs
- Int16KeyFrameCollection.cs
- UIntPtr.cs
- WindowsAltTab.cs
- BuildProvider.cs
- UseAttributeSetsAction.cs
- FormsAuthenticationConfiguration.cs
- SafeFileMapViewHandle.cs
- DrawingImage.cs
- DataGridViewColumnCollection.cs
- MouseButton.cs
- DocumentAutomationPeer.cs
- DESCryptoServiceProvider.cs
- HitTestParameters3D.cs
- Material.cs
- DataGridLinkButton.cs
- Setter.cs
- WebAdminConfigurationHelper.cs
- ProbeMatchesMessageCD1.cs
- StyleReferenceConverter.cs
- BoolExpr.cs
- FormsAuthenticationCredentials.cs
- ResXBuildProvider.cs
- UpDownEvent.cs
- TypeSystemHelpers.cs
- DataControlFieldCollection.cs
- TabControl.cs
- Parameter.cs
- BitmapEffectState.cs
- DataControlCommands.cs
- SuppressMergeCheckAttribute.cs
- RangeBaseAutomationPeer.cs
- BamlRecordReader.cs
- SerializationEventsCache.cs
- FontDialog.cs
- ProgressBar.cs
- ContentPresenter.cs