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
- Process.cs
- RunClient.cs
- TriggerAction.cs
- WebPartConnectionsConfigureVerb.cs
- EntityDataSourceColumn.cs
- BrowserDefinitionCollection.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- ConfigurationLockCollection.cs
- TreeNodeEventArgs.cs
- SynchronizationContextHelper.cs
- ProviderBase.cs
- EndpointAddressMessageFilter.cs
- WebPartHeaderCloseVerb.cs
- RightsManagementPermission.cs
- FilterFactory.cs
- QuadraticBezierSegment.cs
- regiisutil.cs
- FixedPageProcessor.cs
- EventOpcode.cs
- IisTraceListener.cs
- EnumValAlphaComparer.cs
- TableNameAttribute.cs
- SafeRightsManagementHandle.cs
- StoreContentChangedEventArgs.cs
- PassportAuthentication.cs
- DuplicateMessageDetector.cs
- RayHitTestParameters.cs
- XmlIterators.cs
- TraceContextRecord.cs
- MdiWindowListStrip.cs
- Msmq4SubqueuePoisonHandler.cs
- Journal.cs
- SiteMapSection.cs
- AffineTransform3D.cs
- MetadataWorkspace.cs
- AddressAccessDeniedException.cs
- XsltException.cs
- GatewayDefinition.cs
- ReadOnlyDataSource.cs
- WinCategoryAttribute.cs
- BordersPage.cs
- ThreadExceptionDialog.cs
- ImpersonateTokenRef.cs
- _NativeSSPI.cs
- DirectoryGroupQuery.cs
- TraceSection.cs
- PackageRelationshipSelector.cs
- TextBoxBaseDesigner.cs
- XmlDocument.cs
- TimeIntervalCollection.cs
- hebrewshape.cs
- UIElement.cs
- StoreContentChangedEventArgs.cs
- XmlHierarchicalEnumerable.cs
- WorkflowDesigner.cs
- DocumentXmlWriter.cs
- ErrorBehavior.cs
- PriorityItem.cs
- MatrixCamera.cs
- ConfigXmlWhitespace.cs
- PenLineCapValidation.cs
- ListBoxItem.cs
- HtmlSelect.cs
- DataGridColumnHeader.cs
- BamlLocalizer.cs
- DynamicUpdateCommand.cs
- ReadOnlyAttribute.cs
- Viewport2DVisual3D.cs
- WebControlParameterProxy.cs
- ToolBarButton.cs
- ITextView.cs
- ScrollContentPresenter.cs
- LinkLabel.cs
- DrawingVisual.cs
- ProcessInfo.cs
- DataGridTable.cs
- EntityConnection.cs
- SerializeAbsoluteContext.cs
- NullReferenceException.cs
- DataTableTypeConverter.cs
- XmlHierarchicalEnumerable.cs
- PersonalizationState.cs
- TokenizerHelper.cs
- XmlSerializerFactory.cs
- SharedUtils.cs
- GeometryModel3D.cs
- TemplateComponentConnector.cs
- ReadOnlyDataSourceView.cs
- ProfileServiceManager.cs
- SlipBehavior.cs
- ErrorFormatter.cs
- EncoderExceptionFallback.cs
- DataTableMappingCollection.cs
- EFDataModelProvider.cs
- StylusPlugInCollection.cs
- GenericEnumerator.cs
- XPathQilFactory.cs
- LicFileLicenseProvider.cs
- ListBoxItemWrapperAutomationPeer.cs
- SchemaTableColumn.cs