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
- NotImplementedException.cs
- StringReader.cs
- ErrorProvider.cs
- OdbcException.cs
- SecurityContext.cs
- XdrBuilder.cs
- SizeAnimationUsingKeyFrames.cs
- DataGridViewTextBoxColumn.cs
- TypeToken.cs
- SerializationSectionGroup.cs
- BasicViewGenerator.cs
- FontCacheUtil.cs
- QueryPageSettingsEventArgs.cs
- ExpandCollapseIsCheckedConverter.cs
- CustomAttributeBuilder.cs
- EntityDesignerDataSourceView.cs
- AutoCompleteStringCollection.cs
- ExceptionValidationRule.cs
- AnimationClock.cs
- KeyboardNavigation.cs
- NetNamedPipeBindingElement.cs
- Mouse.cs
- SocketAddress.cs
- XmlSerializer.cs
- Win32.cs
- WrapPanel.cs
- SQLDecimalStorage.cs
- PageTheme.cs
- BreakRecordTable.cs
- StartUpEventArgs.cs
- M3DUtil.cs
- SecurityCredentialsManager.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- StrongNameMembershipCondition.cs
- BitmapEffectGroup.cs
- Control.cs
- SwitchCase.cs
- Soap12ProtocolReflector.cs
- ManifestBasedResourceGroveler.cs
- CodeTypeReferenceCollection.cs
- _HeaderInfoTable.cs
- DataControlField.cs
- XmlBinaryReaderSession.cs
- RC2CryptoServiceProvider.cs
- xml.cs
- HtmlControlAdapter.cs
- DocumentReference.cs
- MonitorWrapper.cs
- WindowsScrollBar.cs
- Mutex.cs
- RequiredFieldValidator.cs
- QuaternionKeyFrameCollection.cs
- AspNetCompatibilityRequirementsMode.cs
- WarningException.cs
- UInt64.cs
- LinqToSqlWrapper.cs
- WorkflowWebHostingModule.cs
- EventEntry.cs
- ProxyBuilder.cs
- LinqDataSourceContextEventArgs.cs
- XmlSchemaException.cs
- RequestStatusBarUpdateEventArgs.cs
- CodeIterationStatement.cs
- FullTextBreakpoint.cs
- SqlReorderer.cs
- XmlSchemaAttributeGroupRef.cs
- ColumnReorderedEventArgs.cs
- UrlPath.cs
- WpfKnownMemberInvoker.cs
- X500Name.cs
- MsmqIntegrationSecurityMode.cs
- SeekStoryboard.cs
- XNodeValidator.cs
- sortedlist.cs
- CompilerResults.cs
- SessionStateItemCollection.cs
- EncryptedType.cs
- CompressedStack.cs
- HtmlGenericControl.cs
- MasterPageParser.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- UnsupportedPolicyOptionsException.cs
- CLSCompliantAttribute.cs
- ValidationErrorCollection.cs
- ItemCollection.cs
- DistinctQueryOperator.cs
- BaseAddressElement.cs
- SvcMapFileSerializer.cs
- LineMetrics.cs
- EFAssociationProvider.cs
- DataGridItemEventArgs.cs
- SqlUserDefinedTypeAttribute.cs
- EpmSyndicationContentSerializer.cs
- KnownBoxes.cs
- ComboBoxAutomationPeer.cs
- LightweightCodeGenerator.cs
- LocationReferenceValue.cs
- MemberAccessException.cs
- ContractReference.cs
- PeerCustomResolverElement.cs