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
- RegexCapture.cs
- WebScriptMetadataFormatter.cs
- DataStreams.cs
- GridEntryCollection.cs
- EngineSite.cs
- TraceLevelStore.cs
- DataTableClearEvent.cs
- AttributeParameterInfo.cs
- WebBrowsableAttribute.cs
- DbDataRecord.cs
- WriteTimeStream.cs
- NotSupportedException.cs
- MetadataArtifactLoaderCompositeFile.cs
- DateTimeConverter.cs
- ConfigXmlComment.cs
- MarkupExtensionParser.cs
- ToolStripGrip.cs
- ProgressPage.cs
- SystemSounds.cs
- TableParagraph.cs
- TableDetailsRow.cs
- ResourcePart.cs
- TextContainerHelper.cs
- UIElementPropertyUndoUnit.cs
- DispatcherExceptionFilterEventArgs.cs
- IsolatedStorageFile.cs
- Repeater.cs
- FileLoadException.cs
- DataGridViewCell.cs
- GlobalizationAssembly.cs
- DesignColumn.cs
- QilExpression.cs
- TextRangeEdit.cs
- ConfigurationException.cs
- peersecurityelement.cs
- LabelAutomationPeer.cs
- FamilyCollection.cs
- _ProxyChain.cs
- StaticDataManager.cs
- HtmlWindow.cs
- DataGridViewCellValueEventArgs.cs
- AudioStateChangedEventArgs.cs
- AncillaryOps.cs
- SafeSystemMetrics.cs
- XmlSerializerVersionAttribute.cs
- DebugView.cs
- VectorAnimationBase.cs
- RemoveFromCollection.cs
- CompiledAction.cs
- StrokeCollection.cs
- VirtualizedCellInfoCollection.cs
- QueryResponse.cs
- CapabilitiesUse.cs
- ValidationUtility.cs
- SoapElementAttribute.cs
- BamlLocalizationDictionary.cs
- ImageSourceConverter.cs
- SQLRoleProvider.cs
- MetadataWorkspace.cs
- EncryptedReference.cs
- GorillaCodec.cs
- BooleanSwitch.cs
- ValueChangedEventManager.cs
- DbgCompiler.cs
- typedescriptorpermissionattribute.cs
- FieldReference.cs
- TreeNodeStyle.cs
- ManagedIStream.cs
- BCLDebug.cs
- PrintDocument.cs
- ThreadWorkerController.cs
- SqlSupersetValidator.cs
- assemblycache.cs
- OleStrCAMarshaler.cs
- DSASignatureFormatter.cs
- dataobject.cs
- MethodCallTranslator.cs
- CapabilitiesPattern.cs
- OutOfProcStateClientManager.cs
- IdentityHolder.cs
- LiteralControl.cs
- ControlDesigner.cs
- MD5CryptoServiceProvider.cs
- OleDbMetaDataFactory.cs
- ComPlusTypeLoader.cs
- TextUtf8RawTextWriter.cs
- FontCollection.cs
- DelegatingTypeDescriptionProvider.cs
- cache.cs
- WebPartVerb.cs
- XmlBaseWriter.cs
- GuidelineSet.cs
- DesignerForm.cs
- XmlSchemaAttributeGroup.cs
- CodeExpressionCollection.cs
- FileNameEditor.cs
- OracleInternalConnection.cs
- AcceleratedTokenProvider.cs
- LinqDataSourceDisposeEventArgs.cs
- XmlCharCheckingWriter.cs