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
- StringReader.cs
- JoinSymbol.cs
- TypeDelegator.cs
- DivideByZeroException.cs
- WebPartConnection.cs
- OnOperation.cs
- QuotedPairReader.cs
- Preprocessor.cs
- ServicePointManagerElement.cs
- ToolStripContextMenu.cs
- SocketElement.cs
- GCHandleCookieTable.cs
- XmlSiteMapProvider.cs
- ICollection.cs
- TCPClient.cs
- FillRuleValidation.cs
- SmiRequestExecutor.cs
- PropertyDescriptorComparer.cs
- SqlDataSourceQueryEditorForm.cs
- DbParameterCollectionHelper.cs
- WebPartTransformerAttribute.cs
- TogglePattern.cs
- Variable.cs
- XmlSchemaExporter.cs
- DelegatedStream.cs
- TimelineCollection.cs
- _BufferOffsetSize.cs
- ElementAction.cs
- PageCodeDomTreeGenerator.cs
- TagPrefixCollection.cs
- ValidationError.cs
- Rect3DConverter.cs
- SetStoryboardSpeedRatio.cs
- CounterCreationData.cs
- StringFreezingAttribute.cs
- XmlDownloadManager.cs
- GB18030Encoding.cs
- PreProcessor.cs
- UIAgentAsyncBeginRequest.cs
- MetabaseSettingsIis7.cs
- _ListenerRequestStream.cs
- XmlMapping.cs
- BulletChrome.cs
- ResourceExpressionEditor.cs
- ElementFactory.cs
- HashHelpers.cs
- UnsafeNativeMethods.cs
- IdleTimeoutMonitor.cs
- TypeSource.cs
- InputLanguageCollection.cs
- CodeDOMProvider.cs
- UniqueSet.cs
- PagesSection.cs
- AxHost.cs
- ItemCollectionEditor.cs
- OrthographicCamera.cs
- Soap12FormatExtensions.cs
- ValidationHelper.cs
- SqlBuffer.cs
- ArraySortHelper.cs
- FrugalList.cs
- TableItemPattern.cs
- TemplateControl.cs
- DisableDpiAwarenessAttribute.cs
- BindValidator.cs
- HttpVersion.cs
- ScrollBarAutomationPeer.cs
- PrintingPermissionAttribute.cs
- WindowsAuthenticationEventArgs.cs
- Parsers.cs
- DataServiceProcessingPipelineEventArgs.cs
- Focus.cs
- TakeQueryOptionExpression.cs
- TabPanel.cs
- _NtlmClient.cs
- NullRuntimeConfig.cs
- BoolExpr.cs
- VisualTransition.cs
- ZeroOpNode.cs
- WsatConfiguration.cs
- LazyTextWriterCreator.cs
- OdbcCommandBuilder.cs
- ButtonBaseAdapter.cs
- EventLogStatus.cs
- nulltextnavigator.cs
- NullableDoubleSumAggregationOperator.cs
- MappingItemCollection.cs
- IndependentAnimationStorage.cs
- XPathPatternBuilder.cs
- PropertyGeneratedEventArgs.cs
- BaseAddressElement.cs
- CompositionAdorner.cs
- SystemWebCachingSectionGroup.cs
- SqlHelper.cs
- DifferencingCollection.cs
- BuildProvider.cs
- SqlBinder.cs
- OleDbMetaDataFactory.cs
- XsltContext.cs
- DeclaredTypeValidator.cs