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
- PasswordTextContainer.cs
- DataGridViewLinkColumn.cs
- ReadOnlyDataSourceView.cs
- ProcessModule.cs
- ContractMapping.cs
- HtmlInputButton.cs
- Rotation3DAnimationBase.cs
- documentsequencetextview.cs
- SqlXmlStorage.cs
- DetailsViewDeletedEventArgs.cs
- AttributeUsageAttribute.cs
- TemplateControlBuildProvider.cs
- ToolTipService.cs
- TextParaClient.cs
- GenericsInstances.cs
- SessionEndingEventArgs.cs
- FormsIdentity.cs
- CodeDirectionExpression.cs
- QueuePathDialog.cs
- PropertyContainer.cs
- TreeNodeStyle.cs
- URIFormatException.cs
- EntityKeyElement.cs
- MemoryStream.cs
- ValueProviderWrapper.cs
- Buffer.cs
- FlagsAttribute.cs
- CountdownEvent.cs
- WebPartEditorOkVerb.cs
- EntityDataSourceView.cs
- UnsafeNativeMethodsCLR.cs
- SoapAttributeAttribute.cs
- SatelliteContractVersionAttribute.cs
- GridView.cs
- ForwardPositionQuery.cs
- AutomationTextAttribute.cs
- AutoGeneratedField.cs
- PersonalizationStateInfo.cs
- ObjectDataSourceSelectingEventArgs.cs
- XmlImplementation.cs
- XAMLParseException.cs
- ObjectStateManager.cs
- ConnectionsZone.cs
- CommentEmitter.cs
- RoleManagerModule.cs
- remotingproxy.cs
- RectKeyFrameCollection.cs
- IsolatedStorageFile.cs
- PolygonHotSpot.cs
- ReadOnlyDictionary.cs
- shaperfactoryquerycachekey.cs
- GradientStop.cs
- Int64.cs
- Int64KeyFrameCollection.cs
- basevalidator.cs
- FlowLayout.cs
- ActivityTypeDesigner.xaml.cs
- XmlArrayItemAttribute.cs
- DataGridItem.cs
- TransferRequestHandler.cs
- TextFormattingConverter.cs
- NavigateUrlConverter.cs
- SpellerHighlightLayer.cs
- XmlNullResolver.cs
- future.cs
- CodeDefaultValueExpression.cs
- TaiwanCalendar.cs
- SendParametersContent.cs
- AudioBase.cs
- MimePart.cs
- AssociativeAggregationOperator.cs
- ExpressionBinding.cs
- hebrewshape.cs
- cache.cs
- List.cs
- ProcessInfo.cs
- BevelBitmapEffect.cs
- InternalPolicyElement.cs
- AmbientLight.cs
- AlignmentXValidation.cs
- SqlParameterCollection.cs
- UInt32.cs
- CodeAccessPermission.cs
- MdiWindowListItemConverter.cs
- SystemIPGlobalStatistics.cs
- SqlGenericUtil.cs
- WebPartManager.cs
- OleDbTransaction.cs
- GroupQuery.cs
- _CommandStream.cs
- OracleDataReader.cs
- TraceHwndHost.cs
- XNodeNavigator.cs
- securitymgrsite.cs
- Claim.cs
- TableDetailsRow.cs
- MemberAccessException.cs
- PipeConnection.cs
- ModelUtilities.cs
- JavascriptCallbackBehaviorAttribute.cs