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
- SplitterEvent.cs
- DataBindingCollection.cs
- TTSVoice.cs
- DrawingContext.cs
- ProxyAttribute.cs
- CommonObjectSecurity.cs
- HttpFileCollection.cs
- StretchValidation.cs
- BaseAddressPrefixFilterElementCollection.cs
- DomNameTable.cs
- XpsFixedDocumentReaderWriter.cs
- DesignConnectionCollection.cs
- KnownBoxes.cs
- CroppedBitmap.cs
- FilterableAttribute.cs
- DSACryptoServiceProvider.cs
- CustomAttributeFormatException.cs
- Matrix.cs
- ConfigurationCollectionAttribute.cs
- ExtenderProvidedPropertyAttribute.cs
- PropertyReference.cs
- XmlElementCollection.cs
- DomainUpDown.cs
- XslNumber.cs
- ReflectPropertyDescriptor.cs
- DiagnosticsConfigurationHandler.cs
- ScrollItemProviderWrapper.cs
- BaseServiceProvider.cs
- WithParamAction.cs
- TextTreeFixupNode.cs
- BCLDebug.cs
- DesignTimeXamlWriter.cs
- OutputCacheProfile.cs
- TranslateTransform3D.cs
- InvokeMethodDesigner.xaml.cs
- ComponentGuaranteesAttribute.cs
- PropertyItemInternal.cs
- Point3D.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- SqlMethodTransformer.cs
- CollectionChangeEventArgs.cs
- ControlDesigner.cs
- LayoutExceptionEventArgs.cs
- Int16Storage.cs
- ResourceDictionary.cs
- MetafileEditor.cs
- DesignerSerializationVisibilityAttribute.cs
- TextParentUndoUnit.cs
- SqlUserDefinedTypeAttribute.cs
- XmlTextReader.cs
- NotImplementedException.cs
- TableLayoutStyle.cs
- LinqDataSourceStatusEventArgs.cs
- ChannelServices.cs
- RowUpdatedEventArgs.cs
- RelatedCurrencyManager.cs
- BaseAddressPrefixFilterElement.cs
- TypedReference.cs
- ClientSideProviderDescription.cs
- CategoryGridEntry.cs
- ArithmeticLiteral.cs
- ObjRef.cs
- Header.cs
- WebPartConnectionsConnectVerb.cs
- NetworkInformationException.cs
- EntityFunctions.cs
- MetadataCache.cs
- MarginCollapsingState.cs
- LinqDataSourceStatusEventArgs.cs
- NegationPusher.cs
- UniformGrid.cs
- CellNormalizer.cs
- NullEntityWrapper.cs
- HtmlInputText.cs
- ProfileProvider.cs
- FormatStringEditor.cs
- XpsDigitalSignature.cs
- StringReader.cs
- QueryContinueDragEventArgs.cs
- SocketAddress.cs
- SiteMapPath.cs
- ADConnectionHelper.cs
- SelfSignedCertificate.cs
- HtmlInputSubmit.cs
- DefinitionBase.cs
- RenderData.cs
- Int32RectValueSerializer.cs
- DateTimeOffsetStorage.cs
- PenCursorManager.cs
- TdsParserSafeHandles.cs
- XmlObjectSerializerReadContextComplex.cs
- XmlSchemaFacet.cs
- ComboBox.cs
- mactripleDES.cs
- Pair.cs
- DynamicResourceExtension.cs
- Border.cs
- TypeTypeConverter.cs
- SelectionEditingBehavior.cs
- RelationshipEndMember.cs