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
- DataGridColumnHeader.cs
- SByteConverter.cs
- Int16.cs
- TypeConverterHelper.cs
- UserControlBuildProvider.cs
- VirtualizingStackPanel.cs
- DescriptionAttribute.cs
- Logging.cs
- ScriptIgnoreAttribute.cs
- UTF32Encoding.cs
- DataBindingList.cs
- DataPager.cs
- ServiceHostFactory.cs
- WebPartDescriptionCollection.cs
- FloaterBaseParagraph.cs
- Brush.cs
- CodeExporter.cs
- Span.cs
- TextControlDesigner.cs
- SortedSetDebugView.cs
- HttpApplication.cs
- VBIdentifierDesigner.xaml.cs
- Win32MouseDevice.cs
- BamlRecordWriter.cs
- SimpleType.cs
- ContentAlignmentEditor.cs
- SimpleWebHandlerParser.cs
- GlyphsSerializer.cs
- XmlElementAttribute.cs
- TypeDependencyAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- UInt64Converter.cs
- DynamicField.cs
- ComboBoxRenderer.cs
- SocketSettings.cs
- TrackBarRenderer.cs
- ClientSponsor.cs
- ChangeTracker.cs
- Imaging.cs
- PersonalizableAttribute.cs
- RemotingServices.cs
- UInt16Converter.cs
- SoapMessage.cs
- FontUnitConverter.cs
- ColumnCollection.cs
- SiteMembershipCondition.cs
- ProfileService.cs
- Matrix3DConverter.cs
- _ConnectionGroup.cs
- AnnotationResourceCollection.cs
- XPathSelectionIterator.cs
- NullToBooleanConverter.cs
- XmlSchemaExternal.cs
- DeclarativeCatalogPart.cs
- DependencyProperty.cs
- Pair.cs
- DiagnosticTraceSource.cs
- FileRecordSequence.cs
- InputMethodStateChangeEventArgs.cs
- SafeFileMappingHandle.cs
- XmlNodeReader.cs
- ServiceBuildProvider.cs
- RequiredFieldValidator.cs
- ColumnCollection.cs
- ClusterSafeNativeMethods.cs
- ObjectHandle.cs
- RenderingBiasValidation.cs
- BindingContext.cs
- _BufferOffsetSize.cs
- DrawingContext.cs
- CustomErrorsSection.cs
- EmulateRecognizeCompletedEventArgs.cs
- BuilderPropertyEntry.cs
- SQLByte.cs
- TrustManagerPromptUI.cs
- WindowsStatic.cs
- BehaviorEditorPart.cs
- Models.cs
- HttpRuntimeSection.cs
- UnknownWrapper.cs
- SecurityAlgorithmSuite.cs
- Emitter.cs
- WebPartEditVerb.cs
- PreviewPageInfo.cs
- DbConnectionPoolOptions.cs
- XmlNamespaceDeclarationsAttribute.cs
- StructuralObject.cs
- XmlMemberMapping.cs
- DataRowCollection.cs
- BasicKeyConstraint.cs
- LinearKeyFrames.cs
- XmlElement.cs
- MetadataArtifactLoaderCompositeFile.cs
- XNodeNavigator.cs
- RetrieveVirtualItemEventArgs.cs
- GeometryDrawing.cs
- SchemaTypeEmitter.cs
- VariantWrapper.cs
- CompilerParameters.cs
- TcpConnectionPoolSettingsElement.cs