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
- EllipseGeometry.cs
- DataGridViewSelectedRowCollection.cs
- DelegateOutArgument.cs
- XmlMtomReader.cs
- RangeValidator.cs
- Exceptions.cs
- UnionCqlBlock.cs
- Int64KeyFrameCollection.cs
- ListViewDeletedEventArgs.cs
- ScalarOps.cs
- MeasureData.cs
- StringAnimationBase.cs
- CompilerResults.cs
- MLangCodePageEncoding.cs
- PersonalizationDictionary.cs
- AutoResizedEvent.cs
- Rect3D.cs
- HtmlToClrEventProxy.cs
- CollectionsUtil.cs
- StrokeNodeOperations.cs
- DelegateHelpers.cs
- SqlAliasesReferenced.cs
- CharacterHit.cs
- PartitionResolver.cs
- Html32TextWriter.cs
- SortedSet.cs
- ColorDialog.cs
- CredentialCache.cs
- SqlInternalConnectionTds.cs
- XhtmlConformanceSection.cs
- NativeMethods.cs
- CachedResourceDictionaryExtension.cs
- ReflectionServiceProvider.cs
- BulletChrome.cs
- DBConcurrencyException.cs
- FilteredDataSetHelper.cs
- FilterFactory.cs
- SqlCacheDependencyDatabaseCollection.cs
- ResourceSet.cs
- EmptyEnumerator.cs
- JsonQNameDataContract.cs
- UnicastIPAddressInformationCollection.cs
- CodeTypeOfExpression.cs
- Int32Converter.cs
- CachedTypeface.cs
- XmlCharType.cs
- MetabaseServerConfig.cs
- SchemaSetCompiler.cs
- _NetRes.cs
- LinkConverter.cs
- ByteStream.cs
- TransactionFlowBindingElementImporter.cs
- ListViewCancelEventArgs.cs
- NameValueConfigurationCollection.cs
- PointCollectionValueSerializer.cs
- XmlDataDocument.cs
- XamlToRtfParser.cs
- DispatcherHookEventArgs.cs
- Debugger.cs
- AssertHelper.cs
- ContentPlaceHolder.cs
- PeerNameRecordCollection.cs
- CodeStatement.cs
- XamlStyleSerializer.cs
- ArglessEventHandlerProxy.cs
- TailCallAnalyzer.cs
- CustomBindingElement.cs
- SafeViewOfFileHandle.cs
- TdsParserStateObject.cs
- ArraySortHelper.cs
- SystemWebCachingSectionGroup.cs
- XpsFilter.cs
- Assert.cs
- HttpRequest.cs
- ScrollViewer.cs
- InternalBufferOverflowException.cs
- ObjectQueryProvider.cs
- TextDecoration.cs
- ReferentialConstraint.cs
- Cursor.cs
- AutomationTextAttribute.cs
- WindowsTokenRoleProvider.cs
- BuildManager.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- UpdateManifestForBrowserApplication.cs
- NetMsmqSecurityMode.cs
- SqlExpander.cs
- NonSerializedAttribute.cs
- _AutoWebProxyScriptEngine.cs
- SiteMapHierarchicalDataSourceView.cs
- FilePresentation.cs
- CodeIdentifier.cs
- DataServiceContext.cs
- WindowsTitleBar.cs
- ActivationServices.cs
- InputScopeAttribute.cs
- ReferenceEqualityComparer.cs
- OperationCanceledException.cs
- MobileCategoryAttribute.cs
- HostingEnvironmentException.cs