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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RtfControls.cs
- Scene3D.cs
- UrlPath.cs
- graph.cs
- Variable.cs
- safex509handles.cs
- Int32AnimationUsingKeyFrames.cs
- PerformanceCountersElement.cs
- RuntimeWrappedException.cs
- QueryCursorEventArgs.cs
- UncommonField.cs
- ResourceManager.cs
- StreamHelper.cs
- ContextStaticAttribute.cs
- SplitterDesigner.cs
- PropertyMetadata.cs
- EntityContainerRelationshipSetEnd.cs
- LeafCellTreeNode.cs
- StructuralCache.cs
- Color.cs
- XmlTypeMapping.cs
- XmlSchemaComplexContent.cs
- LinkedList.cs
- webbrowsersite.cs
- Panel.cs
- ValidatingReaderNodeData.cs
- CharKeyFrameCollection.cs
- MediaPlayer.cs
- EntityDataSourceView.cs
- PerformanceCounterScope.cs
- ListItemDetailViewAttribute.cs
- CanonicalFormWriter.cs
- DocumentPageView.cs
- RenderData.cs
- EntityViewGenerationConstants.cs
- DataObjectPastingEventArgs.cs
- MissingMethodException.cs
- IsolatedStorageFileStream.cs
- DoubleAnimationUsingPath.cs
- Compiler.cs
- Speller.cs
- StringFormat.cs
- SByteConverter.cs
- IntegerValidator.cs
- ConnectionStringsSection.cs
- TextFormatterHost.cs
- UnlockCardRequest.cs
- Int32.cs
- SynchronizedReadOnlyCollection.cs
- UrlMappingsSection.cs
- OperationPickerDialog.designer.cs
- NodeCounter.cs
- DataPointer.cs
- PropertyRef.cs
- SQLGuid.cs
- AuthenticationModulesSection.cs
- SystemIPGlobalProperties.cs
- StorageComplexPropertyMapping.cs
- SdlChannelSink.cs
- FunctionCommandText.cs
- WebProxyScriptElement.cs
- QueryContinueDragEvent.cs
- CustomTypeDescriptor.cs
- WebPartEditorOkVerb.cs
- SchemaTableColumn.cs
- RunClient.cs
- ListViewUpdatedEventArgs.cs
- SqlRecordBuffer.cs
- XmlRawWriterWrapper.cs
- FactoryId.cs
- FigureHelper.cs
- RegistryConfigurationProvider.cs
- TextEncodedRawTextWriter.cs
- XmlAttributeHolder.cs
- OrderingExpression.cs
- WebContext.cs
- CacheVirtualItemsEvent.cs
- EditorPartCollection.cs
- WmlListAdapter.cs
- ScriptingJsonSerializationSection.cs
- COM2IProvidePropertyBuilderHandler.cs
- counter.cs
- UrlAuthFailedErrorFormatter.cs
- XmlNamespaceManager.cs
- HtmlInputSubmit.cs
- XhtmlMobileTextWriter.cs
- DbModificationClause.cs
- QuaternionRotation3D.cs
- XmlWriterTraceListener.cs
- GridErrorDlg.cs
- EntityCommandExecutionException.cs
- CanExecuteRoutedEventArgs.cs
- TdsParserHelperClasses.cs
- DragEventArgs.cs
- ContentPosition.cs
- BuildTopDownAttribute.cs
- UxThemeWrapper.cs
- TypeConstant.cs
- BuildProvidersCompiler.cs
- Win32Exception.cs