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
- HostingEnvironmentSection.cs
- UrlAuthFailureHandler.cs
- StylusPoint.cs
- SerializationEventsCache.cs
- Validator.cs
- CommunicationException.cs
- shaperfactory.cs
- UInt32Converter.cs
- Size.cs
- MailMessageEventArgs.cs
- EventToken.cs
- EditorZoneAutoFormat.cs
- XD.cs
- ImageAutomationPeer.cs
- SortDescription.cs
- Or.cs
- RegexNode.cs
- DependencyObject.cs
- PersonalizationStateInfoCollection.cs
- XmlSchemaDocumentation.cs
- Filter.cs
- SecurityManager.cs
- VirtualPathProvider.cs
- MappingMetadataHelper.cs
- EnumValidator.cs
- RelatedImageListAttribute.cs
- ProcessHostMapPath.cs
- SoapServerMethod.cs
- RecognizedAudio.cs
- DataGrid.cs
- DataList.cs
- DataFormat.cs
- NumberFunctions.cs
- OdbcConnectionOpen.cs
- ActivityBindForm.Designer.cs
- ListItemConverter.cs
- UnSafeCharBuffer.cs
- PasswordDeriveBytes.cs
- MultipleViewPatternIdentifiers.cs
- ColorConverter.cs
- RuleInfoComparer.cs
- HttpStreamFormatter.cs
- MenuItem.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- BinaryMethodMessage.cs
- SqlClientMetaDataCollectionNames.cs
- securitymgrsite.cs
- SafeNativeMethods.cs
- ScalarOps.cs
- ProfileEventArgs.cs
- HtmlFormWrapper.cs
- TimeStampChecker.cs
- RenderContext.cs
- FrameworkTextComposition.cs
- XmlSerializerAssemblyAttribute.cs
- SymmetricKey.cs
- Duration.cs
- MetadataSet.cs
- PngBitmapEncoder.cs
- FrameworkContentElementAutomationPeer.cs
- OrderByLifter.cs
- WorkflowInstanceContextProvider.cs
- CustomCredentialPolicy.cs
- NativeMethods.cs
- HtmlInputImage.cs
- ClientBuildManager.cs
- HtmlEncodedRawTextWriter.cs
- HttpApplicationFactory.cs
- SoapAttributeOverrides.cs
- XmlNode.cs
- ReverseComparer.cs
- CharEntityEncoderFallback.cs
- SoapMessage.cs
- WsdlInspector.cs
- DataControlFieldCollection.cs
- _AuthenticationState.cs
- DefaultEvaluationContext.cs
- TreeNodeEventArgs.cs
- DataGridCommandEventArgs.cs
- ProtectedConfigurationSection.cs
- TableParagraph.cs
- CatalogPartChrome.cs
- DesignerEditorPartChrome.cs
- PageContent.cs
- DirectionalLight.cs
- SystemTcpStatistics.cs
- NumberFormatInfo.cs
- DataGridViewControlCollection.cs
- WindowsStatic.cs
- ContractNamespaceAttribute.cs
- _SSPIWrapper.cs
- FixedSOMLineCollection.cs
- AQNBuilder.cs
- Random.cs
- StringValidatorAttribute.cs
- WizardForm.cs
- TreeBuilder.cs
- AutomationTextAttribute.cs
- ArrayItemReference.cs
- QueueProcessor.cs