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
- ReferenceEqualityComparer.cs
- ContextDataSource.cs
- ContainerParagraph.cs
- ParseChildrenAsPropertiesAttribute.cs
- infer.cs
- WebPartAddingEventArgs.cs
- ProtectedConfigurationProviderCollection.cs
- SpeechEvent.cs
- DocumentPageViewAutomationPeer.cs
- ThemeDirectoryCompiler.cs
- EdmItemError.cs
- XmlLanguage.cs
- VisualStates.cs
- _Rfc2616CacheValidators.cs
- FormViewDeletedEventArgs.cs
- MultipartContentParser.cs
- TabControl.cs
- SafeFileMapViewHandle.cs
- WindowsFormsLinkLabel.cs
- WebPartVerb.cs
- ScalarOps.cs
- WebPartConnectionCollection.cs
- ModifierKeysConverter.cs
- ToolStripPanelSelectionBehavior.cs
- DATA_BLOB.cs
- MessageOperationFormatter.cs
- AnnotationResourceChangedEventArgs.cs
- WindowsComboBox.cs
- ButtonPopupAdapter.cs
- XmlNullResolver.cs
- SecureStringHasher.cs
- PropertyOverridesDialog.cs
- StylusSystemGestureEventArgs.cs
- OrderByQueryOptionExpression.cs
- EventArgs.cs
- HttpCapabilitiesEvaluator.cs
- DataGridViewTextBoxColumn.cs
- LingerOption.cs
- StateBag.cs
- Pair.cs
- SortDescriptionCollection.cs
- DataBindingCollection.cs
- Mappings.cs
- WeakReferenceEnumerator.cs
- MediaElementAutomationPeer.cs
- WsdlInspector.cs
- HwndProxyElementProvider.cs
- ToolBarButton.cs
- MimeFormReflector.cs
- MILUtilities.cs
- NameTable.cs
- MasterPageCodeDomTreeGenerator.cs
- DbConnectionPoolIdentity.cs
- TypeAccessException.cs
- embossbitmapeffect.cs
- OletxDependentTransaction.cs
- AuthorizationSection.cs
- UIntPtr.cs
- GuidConverter.cs
- FormsAuthenticationEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- DesignTimeParseData.cs
- SiteMapPathDesigner.cs
- ProviderIncompatibleException.cs
- XmlProcessingInstruction.cs
- CallbackException.cs
- XmlTextAttribute.cs
- BooleanFacetDescriptionElement.cs
- DefaultTextStore.cs
- SyndicationDeserializer.cs
- SessionEndingEventArgs.cs
- Descriptor.cs
- NullableDoubleAverageAggregationOperator.cs
- TimeSpan.cs
- basevalidator.cs
- Icon.cs
- XsltLibrary.cs
- SmiRecordBuffer.cs
- WebPartZone.cs
- StrongNameUtility.cs
- TreeNodeCollection.cs
- HostExecutionContextManager.cs
- XmlDigitalSignatureProcessor.cs
- RuntimeHelpers.cs
- SelectionRange.cs
- control.ime.cs
- ConfigXmlCDataSection.cs
- Table.cs
- HTMLTagNameToTypeMapper.cs
- ObjectCloneHelper.cs
- ConfigurationManagerInternal.cs
- BaseUriHelper.cs
- ActivationServices.cs
- SelectionBorderGlyph.cs
- ButtonChrome.cs
- WSDualHttpSecurity.cs
- SqlBulkCopyColumnMapping.cs
- ItemCollection.cs
- Int32RectConverter.cs
- ProfileBuildProvider.cs