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
- MsmqAppDomainProtocolHandler.cs
- XamlWriterExtensions.cs
- DataViewSetting.cs
- Base64Encoder.cs
- DataControlReferenceCollection.cs
- BaseCodePageEncoding.cs
- NTAccount.cs
- RolePrincipal.cs
- NotFiniteNumberException.cs
- CapabilitiesAssignment.cs
- ServiceDescription.cs
- brushes.cs
- CompiledQueryCacheKey.cs
- EventBuilder.cs
- XmlDataCollection.cs
- Splitter.cs
- Message.cs
- FormattedTextSymbols.cs
- DataGridItemEventArgs.cs
- OracleTimeSpan.cs
- BaseParaClient.cs
- OutOfMemoryException.cs
- CustomAttribute.cs
- PixelFormatConverter.cs
- DataGridViewButtonCell.cs
- EmbeddedMailObjectsCollection.cs
- QueryPageSettingsEventArgs.cs
- CodeIterationStatement.cs
- BrowserInteropHelper.cs
- InternalTypeHelper.cs
- HyperlinkAutomationPeer.cs
- List.cs
- PropertyDescriptorCollection.cs
- BindingUtils.cs
- StandardCommands.cs
- httpserverutility.cs
- TemplatedWizardStep.cs
- RequestCacheManager.cs
- ListSortDescription.cs
- ListGeneralPage.cs
- XmlSchemaRedefine.cs
- WindowsRebar.cs
- WindowsFormsSynchronizationContext.cs
- Evaluator.cs
- AmbiguousMatchException.cs
- ScriptControlManager.cs
- Size3DValueSerializer.cs
- SecurityTokenProvider.cs
- DocumentSignatureManager.cs
- DefaultValueTypeConverter.cs
- Color.cs
- CheckPair.cs
- EntityProviderFactory.cs
- TextTrailingWordEllipsis.cs
- EditorPartChrome.cs
- WindowInteractionStateTracker.cs
- HtmlWindow.cs
- XpsDocumentEvent.cs
- CodeIterationStatement.cs
- ConnectionStringsExpressionBuilder.cs
- SqlDataSource.cs
- XPathDocument.cs
- PrtCap_Public_Simple.cs
- CaseInsensitiveHashCodeProvider.cs
- WindowsContainer.cs
- SQLDecimal.cs
- CompilerErrorCollection.cs
- InternalUserCancelledException.cs
- WeakReferenceList.cs
- ModelPropertyDescriptor.cs
- PopupRoot.cs
- UdpReplyToBehavior.cs
- FileDialogPermission.cs
- DelayDesigner.cs
- KnownColorTable.cs
- SqlComparer.cs
- SamlNameIdentifierClaimResource.cs
- EntityTemplateFactory.cs
- CodePageEncoding.cs
- Vector3DConverter.cs
- HttpProfileBase.cs
- FamilyMap.cs
- AppearanceEditorPart.cs
- SolidColorBrush.cs
- RunInstallerAttribute.cs
- IdentityValidationException.cs
- AutoCompleteStringCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- SizeAnimationBase.cs
- WebPartConnectionsConnectVerb.cs
- PolyBezierSegmentFigureLogic.cs
- OdbcParameterCollection.cs
- SqlBinder.cs
- ContextBase.cs
- MimeBasePart.cs
- CatalogPart.cs
- IndentedTextWriter.cs
- Latin1Encoding.cs
- PlainXmlSerializer.cs
- DataGridDefaultColumnWidthTypeConverter.cs