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
- __Filters.cs
- ResponseBodyWriter.cs
- SelectManyQueryOperator.cs
- UnsupportedPolicyOptionsException.cs
- DesignerOptions.cs
- TemplatedControlDesigner.cs
- BindingExpressionBase.cs
- UInt16.cs
- ValueQuery.cs
- WebPartDeleteVerb.cs
- SqlRowUpdatedEvent.cs
- ScrollProviderWrapper.cs
- Int64Converter.cs
- AddressingVersion.cs
- FileUpload.cs
- DataChangedEventManager.cs
- Cursor.cs
- selecteditemcollection.cs
- PtsContext.cs
- LicenseContext.cs
- DataGridColumnHeaderCollection.cs
- WebPartZoneAutoFormat.cs
- SQLSingleStorage.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- ServiceModelConfigurationElementCollection.cs
- XmlSchema.cs
- FileUpload.cs
- HtmlTable.cs
- Matrix.cs
- XmlTypeAttribute.cs
- COM2PropertyPageUITypeConverter.cs
- CompilationRelaxations.cs
- SizeFConverter.cs
- SQLCharsStorage.cs
- DbException.cs
- MarkupCompilePass1.cs
- Point3D.cs
- OdbcCommandBuilder.cs
- externdll.cs
- TextEmbeddedObject.cs
- SQLSingle.cs
- SettingsPropertyWrongTypeException.cs
- SchemaElement.cs
- CodeExpressionCollection.cs
- CurrentChangingEventManager.cs
- LabelEditEvent.cs
- FileUpload.cs
- ConstructorArgumentAttribute.cs
- ScrollProviderWrapper.cs
- DynamicRenderer.cs
- StylusButtonEventArgs.cs
- ApplicationInterop.cs
- LambdaCompiler.Unary.cs
- NonPrimarySelectionGlyph.cs
- DictionaryItemsCollection.cs
- ListViewDeletedEventArgs.cs
- OutputCacheSettingsSection.cs
- DomainLiteralReader.cs
- IIS7UserPrincipal.cs
- SafeFileMappingHandle.cs
- TextBlockAutomationPeer.cs
- bindurihelper.cs
- EncoderFallback.cs
- XamlVector3DCollectionSerializer.cs
- SchemaNames.cs
- StylusButtonCollection.cs
- PaintValueEventArgs.cs
- PanelStyle.cs
- Cursor.cs
- RootNamespaceAttribute.cs
- XPathDocument.cs
- ButtonStandardAdapter.cs
- ProcessHost.cs
- FormCollection.cs
- RegexBoyerMoore.cs
- InheritanceRules.cs
- ToolStripPanelSelectionBehavior.cs
- Switch.cs
- RegisteredHiddenField.cs
- _RegBlobWebProxyDataBuilder.cs
- CodeSnippetExpression.cs
- CustomCredentialPolicy.cs
- MetadataPropertyAttribute.cs
- InputBindingCollection.cs
- DataBindingCollectionConverter.cs
- XmlValueConverter.cs
- StreamWithDictionary.cs
- Point.cs
- RepeatButton.cs
- DataGridClipboardHelper.cs
- followingquery.cs
- ListBoxItemAutomationPeer.cs
- ColumnWidthChangedEvent.cs
- itemelement.cs
- UrlMappingsSection.cs
- ConfigurationFileMap.cs
- Enum.cs
- QilValidationVisitor.cs
- PickDesigner.xaml.cs
- PathSegmentCollection.cs