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
- SqlGatherConsumedAliases.cs
- InternalMappingException.cs
- OracleParameterBinding.cs
- cookieexception.cs
- CustomMenuItemCollection.cs
- DbSetClause.cs
- DiagnosticsConfigurationHandler.cs
- TaiwanLunisolarCalendar.cs
- mediapermission.cs
- ViewBox.cs
- SqlProvider.cs
- DbConnectionStringCommon.cs
- PresentationSource.cs
- HtmlLink.cs
- WhereaboutsReader.cs
- SecurityContext.cs
- SHA1.cs
- CodeAttributeDeclaration.cs
- RegionData.cs
- RelationalExpressions.cs
- EntityContainerEntitySetDefiningQuery.cs
- XamlToRtfWriter.cs
- ListViewItemEventArgs.cs
- VerifyHashRequest.cs
- ListBox.cs
- GlyphCollection.cs
- EventTrigger.cs
- EventManager.cs
- WebReferenceCollection.cs
- WebPartAuthorizationEventArgs.cs
- Animatable.cs
- PersonalizationProvider.cs
- DocumentPage.cs
- Crc32.cs
- SyndicationDeserializer.cs
- EntityDesignerBuildProvider.cs
- BidOverLoads.cs
- messageonlyhwndwrapper.cs
- _DomainName.cs
- LogFlushAsyncResult.cs
- TableCellsCollectionEditor.cs
- Marshal.cs
- RangeBaseAutomationPeer.cs
- ProcessHostServerConfig.cs
- Mouse.cs
- TypeUtils.cs
- ProxyHelper.cs
- PriorityBindingExpression.cs
- precedingsibling.cs
- DatagridviewDisplayedBandsData.cs
- MarkupExtensionParser.cs
- TableLayoutCellPaintEventArgs.cs
- Restrictions.cs
- NavigationProperty.cs
- PopupEventArgs.cs
- ListenerBinder.cs
- RtfControlWordInfo.cs
- DefaultValidator.cs
- StringOutput.cs
- WebScriptMetadataMessage.cs
- TypeDescriptor.cs
- PropertyValueEditor.cs
- FixedMaxHeap.cs
- SynchronousReceiveBehavior.cs
- AvTraceDetails.cs
- FileClassifier.cs
- CodeSubDirectory.cs
- PeerCustomResolverElement.cs
- BufferCache.cs
- ProfilePropertySettingsCollection.cs
- FormsAuthenticationTicket.cs
- HttpFileCollection.cs
- RootBuilder.cs
- FormatterConverter.cs
- CharEntityEncoderFallback.cs
- ParagraphVisual.cs
- ImageMapEventArgs.cs
- DockPattern.cs
- Camera.cs
- DataListCommandEventArgs.cs
- Bezier.cs
- DataGridViewHitTestInfo.cs
- ProgressChangedEventArgs.cs
- DrawingBrush.cs
- TemplateBindingExtension.cs
- UserNameSecurityTokenProvider.cs
- WebPartDescription.cs
- SourceSwitch.cs
- AdornerLayer.cs
- EventRecordWrittenEventArgs.cs
- GCHandleCookieTable.cs
- RubberbandSelector.cs
- ComplexType.cs
- _HeaderInfo.cs
- AQNBuilder.cs
- CommonXSendMessage.cs
- ToolStripScrollButton.cs
- PriorityRange.cs
- SymbolMethod.cs
- StorageScalarPropertyMapping.cs