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
- EnumValidator.cs
- TogglePatternIdentifiers.cs
- ContractListAdapter.cs
- Rotation3D.cs
- Activator.cs
- DefaultValidator.cs
- DataGridTablesFactory.cs
- COM2FontConverter.cs
- SecurityContextKeyIdentifierClause.cs
- IRCollection.cs
- UnionCodeGroup.cs
- DependsOnAttribute.cs
- RectValueSerializer.cs
- TileBrush.cs
- DesignerVerb.cs
- DataTableExtensions.cs
- DataGridTextColumn.cs
- IPAddress.cs
- TypeCodeDomSerializer.cs
- OdbcCommandBuilder.cs
- CommentEmitter.cs
- BindableTemplateBuilder.cs
- EntityRecordInfo.cs
- DesignerTextBoxAdapter.cs
- SqlClientFactory.cs
- ConfigurationSettings.cs
- PackageRelationshipSelector.cs
- WindowHelperService.cs
- WebPageTraceListener.cs
- ComplexBindingPropertiesAttribute.cs
- EmptyStringExpandableObjectConverter.cs
- ContentTypeSettingClientMessageFormatter.cs
- PrtTicket_Public.cs
- FieldBuilder.cs
- DiscardableAttribute.cs
- SizeF.cs
- BindMarkupExtensionSerializer.cs
- XmlCustomFormatter.cs
- StrokeFIndices.cs
- DefaultDiscoveryService.cs
- MetadataItemEmitter.cs
- WeakReference.cs
- ToolStripItemClickedEventArgs.cs
- MSHTMLHost.cs
- EventSinkHelperWriter.cs
- DataSet.cs
- StringFormat.cs
- CellConstant.cs
- CodeMemberEvent.cs
- SoapExtensionTypeElement.cs
- CodeRegionDirective.cs
- PrimitiveXmlSerializers.cs
- InternalsVisibleToAttribute.cs
- fixedPageContentExtractor.cs
- DataList.cs
- EditorResources.cs
- QueryGeneratorBase.cs
- DebugHandleTracker.cs
- CapabilitiesAssignment.cs
- MaskDescriptor.cs
- ILGenerator.cs
- DBNull.cs
- BuildTopDownAttribute.cs
- LabelInfo.cs
- ProfileParameter.cs
- Utils.cs
- RegisterResponseInfo.cs
- ListBase.cs
- Point3DAnimation.cs
- ActiveDocumentEvent.cs
- BuildProviderUtils.cs
- ContextStaticAttribute.cs
- AdornerHitTestResult.cs
- DESCryptoServiceProvider.cs
- DependencyProperty.cs
- OperationCanceledException.cs
- AccessViolationException.cs
- XmlSchemaSet.cs
- Scanner.cs
- DataGridTableCollection.cs
- MetadataReference.cs
- CodeTypeMemberCollection.cs
- NameNode.cs
- OdbcConnectionString.cs
- RtfToken.cs
- StreamUpgradeAcceptor.cs
- UpDownEvent.cs
- HWStack.cs
- DispatchChannelSink.cs
- FixedDocumentPaginator.cs
- ResourceDescriptionAttribute.cs
- shaperfactory.cs
- Label.cs
- XamlTemplateSerializer.cs
- GridViewUpdatedEventArgs.cs
- SystemDiagnosticsSection.cs
- Win32MouseDevice.cs
- PriorityRange.cs
- EventSourceCreationData.cs
- IItemContainerGenerator.cs