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
- UnmanagedMarshal.cs
- BindingWorker.cs
- CommandLibraryHelper.cs
- XamlInt32CollectionSerializer.cs
- ScriptingSectionGroup.cs
- MobileControlsSectionHandler.cs
- MissingMemberException.cs
- FtpWebResponse.cs
- UrlMapping.cs
- ServiceOperationListItem.cs
- DataSourceCacheDurationConverter.cs
- MethodSignatureGenerator.cs
- ContactManager.cs
- PermissionAttributes.cs
- MultipartIdentifier.cs
- MediaSystem.cs
- SByteStorage.cs
- SqlLiftIndependentRowExpressions.cs
- AsyncOperationManager.cs
- ClearTypeHintValidation.cs
- MenuAdapter.cs
- DesignerWithHeader.cs
- ButtonBase.cs
- EventLogPermissionHolder.cs
- AsymmetricKeyExchangeFormatter.cs
- Select.cs
- ModuleBuilderData.cs
- objectresult_tresulttype.cs
- OdbcCommand.cs
- CodeFieldReferenceExpression.cs
- ImageMetadata.cs
- QueryContext.cs
- PeerNameRegistration.cs
- SmtpAuthenticationManager.cs
- HostingEnvironmentSection.cs
- TextSpan.cs
- querybuilder.cs
- FileInfo.cs
- Timer.cs
- DefaultValueTypeConverter.cs
- EmbeddedMailObject.cs
- Registration.cs
- PartitionerQueryOperator.cs
- BrowserCapabilitiesCompiler.cs
- SynchronizedDispatch.cs
- TrackingMemoryStreamFactory.cs
- SettingsBase.cs
- XmlSchemaSimpleContent.cs
- TextClipboardData.cs
- Pen.cs
- PerfCounterSection.cs
- CompletedAsyncResult.cs
- WindowsFormsSectionHandler.cs
- CachedResourceDictionaryExtension.cs
- XhtmlBasicPhoneCallAdapter.cs
- DataGridViewRowCancelEventArgs.cs
- BlurEffect.cs
- XmlReturnReader.cs
- TreeViewImageKeyConverter.cs
- IntegrationExceptionEventArgs.cs
- SuspendDesigner.cs
- EntitySet.cs
- GetFileNameResult.cs
- WindowHideOrCloseTracker.cs
- QueryOutputWriter.cs
- TabControl.cs
- DbConnectionOptions.cs
- GetPageCompletedEventArgs.cs
- DbConnectionPoolGroupProviderInfo.cs
- DataGridViewAccessibleObject.cs
- EdgeProfileValidation.cs
- BrowserCapabilitiesFactoryBase.cs
- Encoder.cs
- SemanticAnalyzer.cs
- BridgeDataReader.cs
- XmlFileEditor.cs
- DBDataPermission.cs
- path.cs
- PrivacyNoticeElement.cs
- DataGridViewCellConverter.cs
- ZipIOLocalFileBlock.cs
- SkinBuilder.cs
- ConnectionsZone.cs
- DataSourceComponent.cs
- ImplicitInputBrush.cs
- AutomationEventArgs.cs
- TableRow.cs
- ResourceContainer.cs
- BeginSelectCardRequest.cs
- ECDiffieHellman.cs
- InfoCardProofToken.cs
- TagMapCollection.cs
- SqlServices.cs
- ProviderSettings.cs
- Connector.xaml.cs
- Model3DGroup.cs
- SecurityContextTokenCache.cs
- RSAPKCS1SignatureDeformatter.cs
- Exceptions.cs
- WindowsSysHeader.cs