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
- FixedTextBuilder.cs
- AssemblyName.cs
- StringKeyFrameCollection.cs
- CodeValidator.cs
- XsdDateTime.cs
- ping.cs
- WebConfigurationHostFileChange.cs
- BackEase.cs
- SqlClientPermission.cs
- securitycriticaldataformultiplegetandset.cs
- ArrayTypeMismatchException.cs
- BooleanStorage.cs
- ListSortDescriptionCollection.cs
- WebPartEditorCancelVerb.cs
- DocumentScope.cs
- MimeReflector.cs
- MissingMethodException.cs
- Authorization.cs
- TextAutomationPeer.cs
- ClassImporter.cs
- ParserOptions.cs
- NullRuntimeConfig.cs
- XPathDescendantIterator.cs
- WebEvents.cs
- ToolStripGrip.cs
- BrowserDefinition.cs
- DSASignatureFormatter.cs
- BaseProcessor.cs
- StringToken.cs
- SystemColorTracker.cs
- TimerElapsedEvenArgs.cs
- EventMap.cs
- ExclusiveTcpTransportManager.cs
- QueryExtender.cs
- URLBuilder.cs
- StorageAssociationTypeMapping.cs
- HtmlTableRowCollection.cs
- SecurityDescriptor.cs
- ProfileEventArgs.cs
- COAUTHINFO.cs
- ClickablePoint.cs
- DataGridViewHitTestInfo.cs
- TextDecorationCollectionConverter.cs
- HtmlElementCollection.cs
- HtmlEmptyTagControlBuilder.cs
- PopOutPanel.cs
- XmlNodeChangedEventArgs.cs
- IntegerValidator.cs
- MemoryStream.cs
- XmlSchemaRedefine.cs
- ScalarConstant.cs
- WebPageTraceListener.cs
- DataColumnChangeEvent.cs
- HttpCapabilitiesBase.cs
- DrawingImage.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- NetworkInformationPermission.cs
- HandlerMappingMemo.cs
- TabRenderer.cs
- CopyEncoder.cs
- TextDecorations.cs
- GridEntryCollection.cs
- WindowsSlider.cs
- InternalDuplexBindingElement.cs
- RootBrowserWindow.cs
- SiblingIterators.cs
- RemotingAttributes.cs
- CodeTypeReference.cs
- ValidationResults.cs
- CapabilitiesRule.cs
- Regex.cs
- DrawingServices.cs
- HtmlWindow.cs
- HGlobalSafeHandle.cs
- QuaternionAnimation.cs
- QuaternionAnimationUsingKeyFrames.cs
- ClientBuildManager.cs
- XsltException.cs
- PropertyGridEditorPart.cs
- TableDetailsCollection.cs
- MappingMetadataHelper.cs
- ShaperBuffers.cs
- UIElementIsland.cs
- WinEventTracker.cs
- RegistrySecurity.cs
- ExpressionHelper.cs
- StreamUpdate.cs
- peersecuritysettings.cs
- ColumnReorderedEventArgs.cs
- HostDesigntimeLicenseContext.cs
- URLIdentityPermission.cs
- SourceCollection.cs
- PersonalizationStateInfo.cs
- Menu.cs
- DelayedRegex.cs
- SqlCommandSet.cs
- UserControl.cs
- GetPageCompletedEventArgs.cs
- EventManager.cs
- DiscoveryServerProtocol.cs