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
- XmlArrayItemAttributes.cs
- CompilationLock.cs
- BindingMAnagerBase.cs
- PinProtectionHelper.cs
- TimeEnumHelper.cs
- EndCreateSecurityTokenRequest.cs
- ListContractAdapter.cs
- ListViewDeleteEventArgs.cs
- EdmMember.cs
- SpeechAudioFormatInfo.cs
- MaskedTextBoxDesigner.cs
- Facet.cs
- RelationshipEndCollection.cs
- LayoutEngine.cs
- XsltConvert.cs
- DataSource.cs
- WindowsSpinner.cs
- ConfigXmlElement.cs
- SetState.cs
- CharEnumerator.cs
- EnumMemberAttribute.cs
- TypedAsyncResult.cs
- BitmapPalette.cs
- WorkflowApplicationIdleEventArgs.cs
- FlowLayout.cs
- ImpersonateTokenRef.cs
- CompilerResults.cs
- StructuralObject.cs
- EntityKey.cs
- CodeDOMUtility.cs
- DesignTimeVisibleAttribute.cs
- SyntaxCheck.cs
- UnknownBitmapEncoder.cs
- FigureParaClient.cs
- Duration.cs
- ConsoleTraceListener.cs
- VisualStates.cs
- IsolationInterop.cs
- TextParagraphView.cs
- FrameSecurityDescriptor.cs
- HelpKeywordAttribute.cs
- MessageBox.cs
- Calendar.cs
- OLEDB_Util.cs
- DataGridViewComboBoxCell.cs
- PointF.cs
- TextRangeAdaptor.cs
- QuaternionRotation3D.cs
- Ray3DHitTestResult.cs
- ToolboxItem.cs
- FontWeight.cs
- PolyLineSegment.cs
- MSHTMLHost.cs
- DocumentViewer.cs
- CapabilitiesSection.cs
- ActiveXSite.cs
- WindowsListViewGroupHelper.cs
- StreamWriter.cs
- EnumValidator.cs
- ValueChangedEventManager.cs
- Random.cs
- ItemAutomationPeer.cs
- FormsAuthenticationEventArgs.cs
- LicenseContext.cs
- InlineUIContainer.cs
- FactorySettingsElement.cs
- MethodBody.cs
- ProxyAttribute.cs
- HostedHttpContext.cs
- FileChangesMonitor.cs
- AssemblyResourceLoader.cs
- WindowsStatic.cs
- Container.cs
- StateItem.cs
- NamespaceDecl.cs
- QilTernary.cs
- HttpResponseWrapper.cs
- Nullable.cs
- ColorConverter.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- LinqToSqlWrapper.cs
- DrawingAttributes.cs
- CodeTypeOfExpression.cs
- safemediahandle.cs
- ControlBuilder.cs
- XDeferredAxisSource.cs
- PackageDigitalSignatureManager.cs
- FactoryMaker.cs
- SecurityKeyIdentifierClause.cs
- FileDetails.cs
- WindowInteropHelper.cs
- ListManagerBindingsCollection.cs
- RegexRunnerFactory.cs
- WebMessageEncodingBindingElement.cs
- RectangleHotSpot.cs
- __Error.cs
- EdmRelationshipRoleAttribute.cs
- NavigationPropertyEmitter.cs
- KeyInterop.cs
- storagemappingitemcollection.viewdictionary.cs