Code:
/ 4.0 / 4.0 / 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. 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
- DefaultEventAttribute.cs
- IApplicationTrustManager.cs
- ObjectListCommandsPage.cs
- DbParameterHelper.cs
- ActiveDocumentEvent.cs
- CorrelationToken.cs
- ContextStack.cs
- Rect3DConverter.cs
- BindingMAnagerBase.cs
- DateTimeOffset.cs
- DoWorkEventArgs.cs
- CodeDomComponentSerializationService.cs
- StatusBarPanel.cs
- ButtonBase.cs
- SignHashRequest.cs
- GroupBox.cs
- EncryptedType.cs
- ButtonColumn.cs
- BrowserDefinition.cs
- Walker.cs
- InvokeBinder.cs
- UInt32.cs
- EntitySet.cs
- BaseDataBoundControl.cs
- ExternalCalls.cs
- AppDomainProtocolHandler.cs
- CharUnicodeInfo.cs
- TableRowGroup.cs
- CounterSampleCalculator.cs
- PriorityBindingExpression.cs
- ToolStripDropDownButton.cs
- ILGenerator.cs
- WebScriptMetadataMessageEncoderFactory.cs
- PerspectiveCamera.cs
- Hyperlink.cs
- Substitution.cs
- SetUserPreferenceRequest.cs
- DataGridViewComponentPropertyGridSite.cs
- DocumentReferenceCollection.cs
- Renderer.cs
- MetadataArtifactLoaderCompositeFile.cs
- Command.cs
- ExpressionBindingCollection.cs
- DataSourceSelectArguments.cs
- DataServiceCollectionOfT.cs
- WebPartConnectionsCancelVerb.cs
- XmlAttributes.cs
- ExpressionBindingCollection.cs
- UnsignedPublishLicense.cs
- SafeProcessHandle.cs
- DbProviderConfigurationHandler.cs
- RequestDescription.cs
- WindowsStatic.cs
- PnrpPeerResolverBindingElement.cs
- ActiveDocumentEvent.cs
- XPathScanner.cs
- ValueTypeFixupInfo.cs
- AnnotationResource.cs
- CredentialManagerDialog.cs
- InvokePattern.cs
- FixedPageStructure.cs
- StoreItemCollection.cs
- WindowsFormsLinkLabel.cs
- RawStylusActions.cs
- EventLogPermissionAttribute.cs
- FramingFormat.cs
- EnumCodeDomSerializer.cs
- EncoderParameters.cs
- ServiceHostingEnvironment.cs
- WebPartTransformerAttribute.cs
- SystemIcmpV6Statistics.cs
- EntityProxyFactory.cs
- MDIWindowDialog.cs
- EventRoute.cs
- TableRowsCollectionEditor.cs
- EntityViewGenerator.cs
- ProcessHostFactoryHelper.cs
- ConnectivityStatus.cs
- DataPagerFieldCommandEventArgs.cs
- ScrollBar.cs
- Rect3D.cs
- HtmlTableCellCollection.cs
- XmlSchemaAttributeGroupRef.cs
- SettingsPropertyValueCollection.cs
- TreeNodeCollectionEditor.cs
- Debug.cs
- IResourceProvider.cs
- ErrorRuntimeConfig.cs
- DashStyle.cs
- SystemTcpConnection.cs
- ChtmlFormAdapter.cs
- MenuItemBinding.cs
- LineProperties.cs
- ResetableIterator.cs
- EmptyStringExpandableObjectConverter.cs
- ImageIndexConverter.cs
- webclient.cs
- RequiredFieldValidator.cs
- DbProviderServices.cs
- SqlConnectionStringBuilder.cs