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
- BindingValueChangedEventArgs.cs
- AuthenticationConfig.cs
- ObjectParameterCollection.cs
- RuntimeHandles.cs
- NotFiniteNumberException.cs
- HotCommands.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- GroupItemAutomationPeer.cs
- KeyEvent.cs
- ScriptResourceAttribute.cs
- ReadOnlyActivityGlyph.cs
- DeviceContext2.cs
- PathNode.cs
- ControlCachePolicy.cs
- OperatingSystem.cs
- UrlMappingCollection.cs
- IBuiltInEvidence.cs
- validation.cs
- SmiConnection.cs
- Content.cs
- Parsers.cs
- DBAsyncResult.cs
- MetadataException.cs
- HttpRuntimeSection.cs
- QilTernary.cs
- ColorContext.cs
- WorkBatch.cs
- ReceiveActivityValidator.cs
- XmlQueryCardinality.cs
- DbMetaDataCollectionNames.cs
- RenamedEventArgs.cs
- ReachSerializableProperties.cs
- XmlCollation.cs
- TextTreeText.cs
- WindowPatternIdentifiers.cs
- ListItemConverter.cs
- StringSource.cs
- Bitmap.cs
- propertyentry.cs
- EditorPart.cs
- FormsAuthenticationModule.cs
- ServiceDeploymentInfo.cs
- BypassElement.cs
- ScriptingWebServicesSectionGroup.cs
- ServiceDescription.cs
- AnnotationMap.cs
- WindowsStreamSecurityUpgradeProvider.cs
- DictionarySectionHandler.cs
- SkinBuilder.cs
- SystemDropShadowChrome.cs
- OracleBFile.cs
- CodeAccessSecurityEngine.cs
- ActiveXSite.cs
- UpDownBase.cs
- DirectoryGroupQuery.cs
- DoubleKeyFrameCollection.cs
- VSWCFServiceContractGenerator.cs
- SqlDataSource.cs
- DynamicResourceExtensionConverter.cs
- XmlAttributes.cs
- MetabaseServerConfig.cs
- Rule.cs
- DataRecord.cs
- ListViewItem.cs
- LookupBindingPropertiesAttribute.cs
- XPathDescendantIterator.cs
- Types.cs
- IgnoreFileBuildProvider.cs
- ImageBrush.cs
- ContainsRowNumberChecker.cs
- ProcessStartInfo.cs
- SecurityRuntime.cs
- SyndicationSerializer.cs
- DataTableReaderListener.cs
- DefaultHttpHandler.cs
- SourceSwitch.cs
- ChangeConflicts.cs
- XamlWrapperReaders.cs
- EncoderBestFitFallback.cs
- SqlUserDefinedAggregateAttribute.cs
- Logging.cs
- XPathNodeList.cs
- XmlBoundElement.cs
- MdbDataFileEditor.cs
- DataBinding.cs
- ConcurrentStack.cs
- TransportSecurityBindingElement.cs
- ViewGenerator.cs
- RegisteredArrayDeclaration.cs
- SelectionRange.cs
- Material.cs
- RectIndependentAnimationStorage.cs
- BuildProvidersCompiler.cs
- BindingNavigator.cs
- XmlSchemaFacet.cs
- XmlDataProvider.cs
- DateBoldEvent.cs
- ContextActivityUtils.cs
- NavigationWindowAutomationPeer.cs
- WCFBuildProvider.cs