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
- VersionPair.cs
- LayoutEditorPart.cs
- MonitorWrapper.cs
- NoResizeHandleGlyph.cs
- SqlDataSourceDesigner.cs
- CopyAttributesAction.cs
- NumericExpr.cs
- DataBoundControlDesigner.cs
- ManagedIStream.cs
- Control.cs
- Menu.cs
- Dictionary.cs
- PtsCache.cs
- ReadOnlyHierarchicalDataSource.cs
- ParameterModifier.cs
- WebServiceErrorEvent.cs
- X509Utils.cs
- RemoteWebConfigurationHostStream.cs
- ThreadPool.cs
- XmlSchemaComplexContentRestriction.cs
- BrowserCapabilitiesFactoryBase.cs
- _ScatterGatherBuffers.cs
- AffineTransform3D.cs
- SiteMapNodeItem.cs
- JoinCqlBlock.cs
- Rule.cs
- QuotaExceededException.cs
- TextLineResult.cs
- XComponentModel.cs
- WebDescriptionAttribute.cs
- TypeDelegator.cs
- MobileControlDesigner.cs
- CustomSignedXml.cs
- PerformanceCounterPermissionEntryCollection.cs
- LongTypeConverter.cs
- BuildProvider.cs
- MulticastNotSupportedException.cs
- XamlSerializer.cs
- ResumeStoryboard.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TextDecorationCollectionConverter.cs
- Avt.cs
- ControlIdConverter.cs
- SRef.cs
- MbpInfo.cs
- SqlDataSourceStatusEventArgs.cs
- ButtonColumn.cs
- ProfileEventArgs.cs
- storepermissionattribute.cs
- IsolatedStorage.cs
- ProxyWebPartConnectionCollection.cs
- LicenseException.cs
- DbParameterCollection.cs
- BroadcastEventHelper.cs
- ResourceAttributes.cs
- TabItemWrapperAutomationPeer.cs
- NavigationHelper.cs
- RoleManagerModule.cs
- OleServicesContext.cs
- HijriCalendar.cs
- DBPropSet.cs
- MetaTableHelper.cs
- DrawingAttributes.cs
- RichTextBoxAutomationPeer.cs
- IDispatchConstantAttribute.cs
- EventRouteFactory.cs
- RsaSecurityKey.cs
- ToolBar.cs
- DefaultDialogButtons.cs
- ArgIterator.cs
- DBSchemaTable.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- NotifyIcon.cs
- StateMachineHistory.cs
- OleDbDataAdapter.cs
- EntityKeyElement.cs
- XmlDocument.cs
- SqlClientWrapperSmiStreamChars.cs
- FontWeights.cs
- BreakSafeBase.cs
- NullableLongMinMaxAggregationOperator.cs
- SafeRightsManagementSessionHandle.cs
- ResourcePermissionBaseEntry.cs
- NativeCompoundFileAPIs.cs
- JsonFormatWriterGenerator.cs
- Solver.cs
- ActivityPropertyReference.cs
- SelectionItemPattern.cs
- GifBitmapDecoder.cs
- DataGridViewBindingCompleteEventArgs.cs
- ObservableDictionary.cs
- XmlSchemaSimpleContentExtension.cs
- Error.cs
- HtmlTextArea.cs
- Update.cs
- CodeBinaryOperatorExpression.cs
- httpapplicationstate.cs
- ByteAnimationUsingKeyFrames.cs
- Currency.cs
- EntityDesignerDataSourceView.cs