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
- MDIClient.cs
- ContractReference.cs
- FileStream.cs
- SimplePropertyEntry.cs
- SchemaComplexType.cs
- TypeDescriptionProviderAttribute.cs
- printdlgexmarshaler.cs
- RuleInfoComparer.cs
- CfgParser.cs
- OleDbParameter.cs
- SemanticBasicElement.cs
- MethodAccessException.cs
- PtsHelper.cs
- HostVisual.cs
- XamlStream.cs
- ItemsPanelTemplate.cs
- ObjectListCommand.cs
- DesignTimeValidationFeature.cs
- BufferedConnection.cs
- ToolStripCustomTypeDescriptor.cs
- PatternMatcher.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- XmlAtomicValue.cs
- MouseActionValueSerializer.cs
- SpotLight.cs
- ListViewDeletedEventArgs.cs
- XhtmlConformanceSection.cs
- MDIControlStrip.cs
- HitTestWithGeometryDrawingContextWalker.cs
- NoResizeHandleGlyph.cs
- DoubleCollectionConverter.cs
- CompilerErrorCollection.cs
- XmlDocumentSerializer.cs
- XmlSchemaInferenceException.cs
- DataObjectPastingEventArgs.cs
- MouseEvent.cs
- DetailsViewInsertedEventArgs.cs
- OdbcRowUpdatingEvent.cs
- QueueProcessor.cs
- SqlUtils.cs
- Size3DValueSerializer.cs
- TextMetrics.cs
- TextEffect.cs
- ComponentEditorForm.cs
- DbMetaDataCollectionNames.cs
- VoiceInfo.cs
- ReachObjectContext.cs
- MembershipAdapter.cs
- AccessDataSource.cs
- OleDbDataReader.cs
- SiteMapNodeCollection.cs
- AdornedElementPlaceholder.cs
- HtmlHistory.cs
- NoneExcludedImageIndexConverter.cs
- XmlChildNodes.cs
- TemplateBuilder.cs
- BuildProviderCollection.cs
- PageEventArgs.cs
- ADConnectionHelper.cs
- QilLoop.cs
- XmlNodeComparer.cs
- ActivityExecutorSurrogate.cs
- SafeRegistryHandle.cs
- COM2TypeInfoProcessor.cs
- XsltContext.cs
- DataBindingHandlerAttribute.cs
- CancellationHandler.cs
- MeasurementDCInfo.cs
- VerifyHashRequest.cs
- PropertyChangedEventManager.cs
- FileDialogCustomPlace.cs
- HtmlInputReset.cs
- Drawing.cs
- OpenTypeMethods.cs
- WithStatement.cs
- IndentTextWriter.cs
- UICuesEvent.cs
- LinkDescriptor.cs
- CorrelationInitializer.cs
- DetailsViewAutoFormat.cs
- ListViewUpdateEventArgs.cs
- Int64Animation.cs
- Int16.cs
- ErrorEventArgs.cs
- MessageBox.cs
- TraceSection.cs
- sqlnorm.cs
- TextBoxDesigner.cs
- LayoutSettings.cs
- DataKey.cs
- NotifyInputEventArgs.cs
- StdRegProviderWrapper.cs
- SafeRightsManagementHandle.cs
- BindableAttribute.cs
- InkCanvasAutomationPeer.cs
- AnonymousIdentificationSection.cs
- ObjectSet.cs
- WorkflowInstanceTerminatedRecord.cs
- HebrewNumber.cs
- AppSettings.cs