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
- IndexedEnumerable.cs
- IndentedWriter.cs
- CharacterBufferReference.cs
- ProgramPublisher.cs
- ProxyWebPart.cs
- CodeDomConfigurationHandler.cs
- UnsafeNativeMethodsMilCoreApi.cs
- StorageBasedPackageProperties.cs
- RsaSecurityKey.cs
- ReadOnlyState.cs
- BorderGapMaskConverter.cs
- ConfigurationLocationCollection.cs
- OracleInternalConnection.cs
- FontStretchConverter.cs
- ResumeStoryboard.cs
- DayRenderEvent.cs
- NavigationFailedEventArgs.cs
- TdsValueSetter.cs
- EntityContainer.cs
- GridEntryCollection.cs
- NumberFormatter.cs
- DependencyPropertyConverter.cs
- XmlBinaryReader.cs
- HttpPostedFile.cs
- XmlSchemaCompilationSettings.cs
- SimpleParser.cs
- ReceiveSecurityHeaderElementManager.cs
- OutputCacheSettingsSection.cs
- LogRestartAreaEnumerator.cs
- TableCellCollection.cs
- DataGridViewRowStateChangedEventArgs.cs
- MenuTracker.cs
- ConfigurationProperty.cs
- cache.cs
- DataGridViewSelectedCellCollection.cs
- ServiceHostFactory.cs
- EnumUnknown.cs
- TextBounds.cs
- DataFormats.cs
- ApplicationFileCodeDomTreeGenerator.cs
- MenuItemStyleCollection.cs
- SignatureToken.cs
- VisualBrush.cs
- ProjectedSlot.cs
- ObjectDataSourceMethodEditor.cs
- KeyValueConfigurationElement.cs
- COAUTHINFO.cs
- RuntimeHandles.cs
- FilterRepeater.cs
- FileSecurity.cs
- PolyLineSegmentFigureLogic.cs
- ApplicationProxyInternal.cs
- bindurihelper.cs
- XmlReaderDelegator.cs
- SqlInfoMessageEvent.cs
- ProfileGroupSettings.cs
- CharacterBuffer.cs
- ToolBarTray.cs
- XamlTemplateSerializer.cs
- ThemeConfigurationDialog.cs
- PassportIdentity.cs
- TableColumn.cs
- XmlSchemaDatatype.cs
- RotateTransform3D.cs
- XmlUrlEditor.cs
- EntityCommandExecutionException.cs
- ResourceLoader.cs
- TextEncodedRawTextWriter.cs
- Accessible.cs
- HtmlInputControl.cs
- RSAProtectedConfigurationProvider.cs
- DataSourceCacheDurationConverter.cs
- MaterializeFromAtom.cs
- SerializationStore.cs
- ChildChangedEventArgs.cs
- Rules.cs
- SelectionPattern.cs
- DWriteFactory.cs
- Closure.cs
- HtmlShimManager.cs
- ItemsControl.cs
- AvTraceDetails.cs
- NavigationHelper.cs
- RtfFormatStack.cs
- NetStream.cs
- XmlAttributeCache.cs
- OletxVolatileEnlistment.cs
- ColorConvertedBitmap.cs
- FontConverter.cs
- DocumentScope.cs
- Visual3DCollection.cs
- DataBoundControlAdapter.cs
- DataServiceContext.cs
- RefreshPropertiesAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- TextEditorMouse.cs
- SoapMessage.cs
- MailDefinition.cs
- PropertyDescriptorComparer.cs
- EntityDesignerUtils.cs