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
- TreeViewHitTestInfo.cs
- UnsafeNativeMethods.cs
- StrongName.cs
- Vector3DAnimation.cs
- SurrogateSelector.cs
- UriWriter.cs
- TargetInvocationException.cs
- MultiBinding.cs
- SQLBytes.cs
- EventLogPermission.cs
- DefaultAssemblyResolver.cs
- ProcessModule.cs
- ExpandCollapseProviderWrapper.cs
- Win32MouseDevice.cs
- CommonObjectSecurity.cs
- XmlCharacterData.cs
- DataGridViewCellPaintingEventArgs.cs
- SQLDecimal.cs
- SafeFindHandle.cs
- AssemblyCollection.cs
- SecurityKeyUsage.cs
- AlternateView.cs
- MeasureItemEvent.cs
- SmtpMail.cs
- ZipArchive.cs
- AssociativeAggregationOperator.cs
- Graphics.cs
- CommonObjectSecurity.cs
- WebPartUtil.cs
- ParallelSeparator.xaml.cs
- XmlILIndex.cs
- LambdaExpression.cs
- XmlNamespaceMapping.cs
- AuthenticateEventArgs.cs
- ArgumentNullException.cs
- ComponentSerializationService.cs
- RequestQueue.cs
- ExpressionReplacer.cs
- ExtensionWindowHeader.cs
- CacheSection.cs
- SrgsRulesCollection.cs
- Msec.cs
- Popup.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- DesignTimeParseData.cs
- SqlDataSourceConnectionPanel.cs
- DBParameter.cs
- DataGridParentRows.cs
- ResolvedKeyFrameEntry.cs
- PerspectiveCamera.cs
- HelloOperationAsyncResult.cs
- UnicastIPAddressInformationCollection.cs
- OleDbCommand.cs
- AutoCompleteStringCollection.cs
- TextStore.cs
- NotConverter.cs
- EntityStoreSchemaFilterEntry.cs
- TableAdapterManagerNameHandler.cs
- Attributes.cs
- figurelengthconverter.cs
- OpCodes.cs
- DragDeltaEventArgs.cs
- Schedule.cs
- MenuItem.cs
- ImageSource.cs
- XmlSerializerImportOptions.cs
- UriSectionReader.cs
- ModifierKeysConverter.cs
- ProtocolImporter.cs
- FacetChecker.cs
- CapabilitiesAssignment.cs
- MultiTrigger.cs
- SqlProfileProvider.cs
- MonikerProxyAttribute.cs
- ImageSourceValueSerializer.cs
- WMICapabilities.cs
- FileReservationCollection.cs
- shaper.cs
- BufferModeSettings.cs
- AttributeData.cs
- TemplateField.cs
- TabRenderer.cs
- DefaultObjectMappingItemCollection.cs
- dsa.cs
- UriTemplateQueryValue.cs
- SchemaImporterExtension.cs
- TransactionState.cs
- TreeBuilderXamlTranslator.cs
- CommentAction.cs
- SecurityElement.cs
- TextBoxRenderer.cs
- PrimarySelectionGlyph.cs
- QilNode.cs
- PathStreamGeometryContext.cs
- TokenizerHelper.cs
- DecimalStorage.cs
- SymbolEqualComparer.cs
- BmpBitmapEncoder.cs
- ToolStripSeparatorRenderEventArgs.cs
- IDQuery.cs