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
- SoapAttributes.cs
- autovalidator.cs
- CellPartitioner.cs
- OleDbInfoMessageEvent.cs
- DiagnosticsConfigurationHandler.cs
- SchemaContext.cs
- LZCodec.cs
- SiteMembershipCondition.cs
- DiffuseMaterial.cs
- DbCommandTree.cs
- DataSourceSelectArguments.cs
- ScrollEvent.cs
- BooleanAnimationBase.cs
- SystemSounds.cs
- Root.cs
- MenuAutomationPeer.cs
- BlobPersonalizationState.cs
- GetWinFXPath.cs
- TraceContextRecord.cs
- QuaternionAnimation.cs
- ThreadAttributes.cs
- Models.cs
- WindowsIPAddress.cs
- SelectionEditingBehavior.cs
- BamlBinaryWriter.cs
- TargetConverter.cs
- PropertyBuilder.cs
- RelationshipDetailsRow.cs
- QueryContinueDragEvent.cs
- Converter.cs
- ToolStripComboBox.cs
- DefaultValueConverter.cs
- UrlAuthFailedErrorFormatter.cs
- StackSpiller.Generated.cs
- DbParameterCollection.cs
- MinimizableAttributeTypeConverter.cs
- Matrix.cs
- ScriptMethodAttribute.cs
- AvTraceDetails.cs
- OperandQuery.cs
- RTLAwareMessageBox.cs
- SessionPageStatePersister.cs
- rsa.cs
- RedBlackList.cs
- ViewManager.cs
- TextElementEnumerator.cs
- DataSet.cs
- AssemblyName.cs
- TextRangeSerialization.cs
- BaseComponentEditor.cs
- DataGridTableCollection.cs
- AppDomainFactory.cs
- RegexReplacement.cs
- SymbolTable.cs
- DbProviderManifest.cs
- GiveFeedbackEvent.cs
- ErasingStroke.cs
- UnknownBitmapEncoder.cs
- OleDbCommandBuilder.cs
- NTAccount.cs
- GridViewHeaderRowPresenter.cs
- InputReportEventArgs.cs
- UpdateCommand.cs
- MatrixTransform.cs
- VBCodeProvider.cs
- HtmlTitle.cs
- DetailsViewRowCollection.cs
- ClientSettingsProvider.cs
- RectangleConverter.cs
- NumericUpDownAccelerationCollection.cs
- IgnoreSectionHandler.cs
- BamlRecordHelper.cs
- EntityParameterCollection.cs
- XamlFigureLengthSerializer.cs
- NavigatingCancelEventArgs.cs
- TemplateBindingExpression.cs
- LinqMaximalSubtreeNominator.cs
- FieldAccessException.cs
- UnsafeCollabNativeMethods.cs
- baseaxisquery.cs
- DesignerLinkAdapter.cs
- IfJoinedCondition.cs
- OracleConnectionString.cs
- MessageContractMemberAttribute.cs
- DiscoveryClientOutputChannel.cs
- SqlWebEventProvider.cs
- FilteredDataSetHelper.cs
- TransformationRules.cs
- RoleServiceManager.cs
- XmlCompatibilityReader.cs
- HttpConfigurationContext.cs
- IDQuery.cs
- Collection.cs
- CurrentChangedEventManager.cs
- sqlcontext.cs
- CodeVariableDeclarationStatement.cs
- TemplatedMailWebEventProvider.cs
- XmlSchema.cs
- ResourceKey.cs
- ArgumentDesigner.xaml.cs