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
- ApplicationManager.cs
- CompensationParticipant.cs
- XmlNodeList.cs
- BinaryFormatterWriter.cs
- PerformanceCounterTraceRecord.cs
- BasePropertyDescriptor.cs
- GenericsInstances.cs
- TeredoHelper.cs
- TemplateColumn.cs
- AutomationEventArgs.cs
- Debug.cs
- DefaultIfEmptyQueryOperator.cs
- XPathAncestorIterator.cs
- NumberFunctions.cs
- PartitionedStream.cs
- ResizeGrip.cs
- DbConnectionStringBuilder.cs
- AssemblyInfo.cs
- SplitterDesigner.cs
- XmlSchemaValidationException.cs
- LineBreak.cs
- SharedUtils.cs
- HttpClientProtocol.cs
- XmlDownloadManager.cs
- NegationPusher.cs
- OptimizedTemplateContent.cs
- Transform.cs
- ConfigPathUtility.cs
- RolePrincipal.cs
- PolyQuadraticBezierSegment.cs
- IgnoreSection.cs
- BamlLocalizableResourceKey.cs
- FixedDocumentSequencePaginator.cs
- DrawingServices.cs
- ColumnTypeConverter.cs
- ConnectionConsumerAttribute.cs
- WebGetAttribute.cs
- ToolStripItemCollection.cs
- InvalidDataContractException.cs
- InertiaTranslationBehavior.cs
- DispatcherBuilder.cs
- Selector.cs
- TraceHandler.cs
- XComponentModel.cs
- Deflater.cs
- Grid.cs
- Serializer.cs
- ChannelTracker.cs
- FormsIdentity.cs
- AmbientEnvironment.cs
- PeerCollaborationPermission.cs
- ZoneIdentityPermission.cs
- BitmapData.cs
- DbConnectionFactory.cs
- FaultPropagationRecord.cs
- SqlErrorCollection.cs
- EntitySqlQueryCacheEntry.cs
- MemoryRecordBuffer.cs
- MenuStrip.cs
- InputMethodStateChangeEventArgs.cs
- ScriptResourceAttribute.cs
- SystemTcpConnection.cs
- TextTreeInsertUndoUnit.cs
- EmptyEnumerable.cs
- XmlImplementation.cs
- StorageSetMapping.cs
- ComponentManagerBroker.cs
- DesignerEventService.cs
- ProxySimple.cs
- TypedTableBaseExtensions.cs
- ConnectionOrientedTransportChannelFactory.cs
- MatrixCamera.cs
- ResourceManager.cs
- DataKey.cs
- OleDbCommand.cs
- Visitor.cs
- ObjectDisposedException.cs
- RuleSet.cs
- CapiHashAlgorithm.cs
- OdbcReferenceCollection.cs
- IncrementalReadDecoders.cs
- ComponentDispatcherThread.cs
- InvalidCastException.cs
- ExpressionVisitorHelpers.cs
- DataContractFormatAttribute.cs
- wgx_exports.cs
- EntityClassGenerator.cs
- BlockExpression.cs
- FormsAuthenticationUser.cs
- QilName.cs
- FormattedText.cs
- TemplateField.cs
- VoiceChangeEventArgs.cs
- PresentationSource.cs
- AddDataControlFieldDialog.cs
- MessageQueueKey.cs
- AccessText.cs
- DataFieldEditor.cs
- OrderToken.cs
- GrammarBuilderWildcard.cs