Code:
/ 4.0 / 4.0 / 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. 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
- XmlSchemaChoice.cs
- BufferedGraphics.cs
- DataSourceCacheDurationConverter.cs
- DbProviderFactory.cs
- EntityParameter.cs
- AssociationSetEnd.cs
- Literal.cs
- NonParentingControl.cs
- HwndHostAutomationPeer.cs
- DetailsViewPagerRow.cs
- MimeFormatExtensions.cs
- XmlChildEnumerator.cs
- Type.cs
- SchemaCreator.cs
- ReflectPropertyDescriptor.cs
- XslVisitor.cs
- DataGridViewHitTestInfo.cs
- Parameter.cs
- EnvironmentPermission.cs
- MarginsConverter.cs
- ReadWriteObjectLock.cs
- BulletedListEventArgs.cs
- Cloud.cs
- ScriptControl.cs
- StorageBasedPackageProperties.cs
- XmlUtf8RawTextWriter.cs
- GlyphsSerializer.cs
- WSHttpBindingBase.cs
- ComponentRenameEvent.cs
- MdiWindowListStrip.cs
- TypedDataSetSchemaImporterExtension.cs
- RuleConditionDialog.Designer.cs
- Schedule.cs
- Brush.cs
- FileEnumerator.cs
- Pool.cs
- OdbcFactory.cs
- GridViewSelectEventArgs.cs
- FixedStringLookup.cs
- WebMessageEncoderFactory.cs
- PathGradientBrush.cs
- SqlXmlStorage.cs
- SerialPort.cs
- PropertyValidationContext.cs
- TraceXPathNavigator.cs
- ToolStripDropTargetManager.cs
- EdmTypeAttribute.cs
- ByteStorage.cs
- XslTransform.cs
- DisposableCollectionWrapper.cs
- ToolStripMenuItem.cs
- TextServicesContext.cs
- ZipIORawDataFileBlock.cs
- Restrictions.cs
- DataGridViewCellStyleChangedEventArgs.cs
- XmlnsCache.cs
- Quaternion.cs
- EventWaitHandle.cs
- AsymmetricAlgorithm.cs
- ComponentCommands.cs
- SingleConverter.cs
- EditorPart.cs
- PropertyGroupDescription.cs
- CodeTryCatchFinallyStatement.cs
- LessThanOrEqual.cs
- PreviewPrintController.cs
- DataColumnMappingCollection.cs
- BitmapScalingModeValidation.cs
- PlainXmlDeserializer.cs
- CompilerParameters.cs
- SharedConnectionWorkflowTransactionService.cs
- ProcessInputEventArgs.cs
- HostedHttpTransportManager.cs
- Rfc2898DeriveBytes.cs
- InkPresenterAutomationPeer.cs
- Identifier.cs
- XmlDictionaryString.cs
- EditorPart.cs
- ReflectionTypeLoadException.cs
- Frame.cs
- FullTextLine.cs
- DesignerOptionService.cs
- TracedNativeMethods.cs
- DataGridView.cs
- PersonalizationStateInfo.cs
- HMAC.cs
- CodeSnippetCompileUnit.cs
- SafePEFileHandle.cs
- CommandDevice.cs
- XmlEncodedRawTextWriter.cs
- SqlServer2KCompatibilityAnnotation.cs
- ResourceExpressionEditorSheet.cs
- DiscardableAttribute.cs
- Formatter.cs
- MessageQueueTransaction.cs
- WindowsUpDown.cs
- GradientStop.cs
- WebPartDisplayModeCollection.cs
- Attribute.cs
- _NetworkingPerfCounters.cs