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
- HostedAspNetEnvironment.cs
- RecommendedAsConfigurableAttribute.cs
- ServiceCredentials.cs
- HostExecutionContextManager.cs
- GestureRecognizer.cs
- ExtractedStateEntry.cs
- AttributeCollection.cs
- PropertyPathConverter.cs
- Compilation.cs
- CuspData.cs
- WindowsFormsSectionHandler.cs
- NameNode.cs
- IgnoreSectionHandler.cs
- Ray3DHitTestResult.cs
- Drawing.cs
- StringDictionaryEditor.cs
- TypeInitializationException.cs
- XmlAttributeProperties.cs
- BaseAddressPrefixFilterElement.cs
- SqlDataReader.cs
- XmlNodeList.cs
- ModuleElement.cs
- GenericTypeParameterBuilder.cs
- DetailsViewModeEventArgs.cs
- ReachFixedDocumentSerializer.cs
- Script.cs
- UnknownBitmapDecoder.cs
- WindowsToolbarItemAsMenuItem.cs
- basemetadatamappingvisitor.cs
- BuildProvider.cs
- ObjRef.cs
- KnownTypeAttribute.cs
- SqlDataSourceFilteringEventArgs.cs
- ValidatingPropertiesEventArgs.cs
- SqlConnection.cs
- FacetValueContainer.cs
- Expressions.cs
- ScaleTransform3D.cs
- LabelDesigner.cs
- StylusPointProperty.cs
- Boolean.cs
- Switch.cs
- HttpPostServerProtocol.cs
- COM2IDispatchConverter.cs
- DataBoundLiteralControl.cs
- ChildTable.cs
- SqlInternalConnection.cs
- ClientApiGenerator.cs
- PrintDocument.cs
- TemplateBindingExtension.cs
- SettingsPropertyNotFoundException.cs
- XhtmlBasicValidationSummaryAdapter.cs
- StateWorkerRequest.cs
- ClientSponsor.cs
- Root.cs
- MessageQueueException.cs
- PeerCustomResolverBindingElement.cs
- ViewKeyConstraint.cs
- DecimalConverter.cs
- MaskedTextBox.cs
- SerialStream.cs
- ResourcePart.cs
- UniqueConstraint.cs
- DirectionalLight.cs
- ClockGroup.cs
- EventLogPermissionEntryCollection.cs
- PostBackOptions.cs
- CharacterMetrics.cs
- XmlSerializationReader.cs
- NCryptSafeHandles.cs
- EntitySqlQueryState.cs
- UIElementHelper.cs
- SafeFileMappingHandle.cs
- UIPropertyMetadata.cs
- ChannelDispatcherBase.cs
- OdbcReferenceCollection.cs
- BuildManagerHost.cs
- CheckBoxStandardAdapter.cs
- DataRecordObjectView.cs
- Events.cs
- Trigger.cs
- ConfigXmlElement.cs
- FormsIdentity.cs
- cookie.cs
- ShaperBuffers.cs
- ProviderSettings.cs
- log.cs
- RegexWorker.cs
- PolyLineSegment.cs
- MediaPlayer.cs
- ZipQueryOperator.cs
- HostedTcpTransportManager.cs
- MetricEntry.cs
- Adorner.cs
- Thickness.cs
- UndirectedGraph.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- OptimisticConcurrencyException.cs
- XsdValidatingReader.cs
- IgnoreDeviceFilterElementCollection.cs