Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Activities / Designers / CodeDesigner.cs / 1305376 / CodeDesigner.cs
namespace System.Workflow.Activities { using System; using System.Text; using System.Reflection; using System.Collections; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Drawing.Drawing2D; using System.Workflow.ComponentModel.Design; #region Class CodeDesigner [ActivityDesignerTheme(typeof(CodeDesignerTheme))] internal sealed class CodeDesigner: ActivityDesigner { } #endregion #region CodeDesignerTheme internal sealed class CodeDesignerTheme : ActivityDesignerTheme { public CodeDesignerTheme(WorkflowTheme theme) : base(theme) { this.ForeColor = Color.FromArgb(0xFF, 0x00, 0x00, 0x00); this.BorderColor = Color.FromArgb(0xFF, 0x80, 0x80, 0x80); this.BorderStyle = DashStyle.Solid; this.BackColorStart = Color.FromArgb(0xFF, 0xF4, 0xF4, 0xF4); this.BackColorEnd = Color.FromArgb(0xFF, 0xC0, 0xC0, 0xC0); this.BackgroundStyle = LinearGradientMode.Horizontal; } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Workflow.Activities { using System; using System.Text; using System.Reflection; using System.Collections; using System.CodeDom; using System.ComponentModel; using System.ComponentModel.Design; using System.Drawing; using System.Drawing.Drawing2D; using System.Workflow.ComponentModel.Design; #region Class CodeDesigner [ActivityDesignerTheme(typeof(CodeDesignerTheme))] internal sealed class CodeDesigner: ActivityDesigner { } #endregion #region CodeDesignerTheme internal sealed class CodeDesignerTheme : ActivityDesignerTheme { public CodeDesignerTheme(WorkflowTheme theme) : base(theme) { this.ForeColor = Color.FromArgb(0xFF, 0x00, 0x00, 0x00); this.BorderColor = Color.FromArgb(0xFF, 0x80, 0x80, 0x80); this.BorderStyle = DashStyle.Solid; this.BackColorStart = Color.FromArgb(0xFF, 0xF4, 0xF4, 0xF4); this.BackColorEnd = Color.FromArgb(0xFF, 0xC0, 0xC0, 0xC0); 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
- ApplicationServicesHostFactory.cs
- DictionaryKeyPropertyAttribute.cs
- NumericUpDownAccelerationCollection.cs
- Set.cs
- XmlBindingWorker.cs
- InternalResources.cs
- MailBnfHelper.cs
- ParseHttpDate.cs
- RemoteWebConfigurationHostStream.cs
- ReferencedAssembly.cs
- ParallelTimeline.cs
- CompilerErrorCollection.cs
- AxisAngleRotation3D.cs
- EnglishPluralizationService.cs
- dsa.cs
- NetworkAddressChange.cs
- IgnoreFileBuildProvider.cs
- VerticalAlignConverter.cs
- AutomationPropertyInfo.cs
- TailPinnedEventArgs.cs
- XmlSchemaAnyAttribute.cs
- TextTreeRootNode.cs
- SystemDropShadowChrome.cs
- GradientStop.cs
- ScriptingSectionGroup.cs
- SpnEndpointIdentity.cs
- PopupRootAutomationPeer.cs
- BaseInfoTable.cs
- ResXBuildProvider.cs
- EarlyBoundInfo.cs
- OrderedHashRepartitionEnumerator.cs
- BitmapEffect.cs
- EasingKeyFrames.cs
- CollectionViewProxy.cs
- MachineKeyConverter.cs
- MiniParameterInfo.cs
- ContainerSelectorActiveEvent.cs
- TreeNodeCollection.cs
- FileLoadException.cs
- XmlBoundElement.cs
- HtmlElementCollection.cs
- MissingMemberException.cs
- Enumerable.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- ToolStripLocationCancelEventArgs.cs
- GetRecipientListRequest.cs
- Schema.cs
- NativeMethods.cs
- PropertyRef.cs
- RegexNode.cs
- PropertyChangeTracker.cs
- TreeNodeCollection.cs
- WebCategoryAttribute.cs
- XmlTypeAttribute.cs
- InkSerializer.cs
- PackageDigitalSignatureManager.cs
- SharedUtils.cs
- SerTrace.cs
- OutOfProcStateClientManager.cs
- GridViewDeleteEventArgs.cs
- _IPv6Address.cs
- SessionKeyExpiredException.cs
- FileDialogPermission.cs
- SqlProviderManifest.cs
- Stream.cs
- SemanticKeyElement.cs
- DirectoryNotFoundException.cs
- CipherData.cs
- IPAddressCollection.cs
- UserControlCodeDomTreeGenerator.cs
- CreateCardRequest.cs
- PrivilegeNotHeldException.cs
- ExpressionEditor.cs
- HexParser.cs
- GrammarBuilderPhrase.cs
- CdpEqualityComparer.cs
- FSWPathEditor.cs
- InputBinding.cs
- PlainXmlDeserializer.cs
- Utils.cs
- Blend.cs
- BuildResult.cs
- QueryResult.cs
- MemberPath.cs
- TreeNodeStyleCollection.cs
- ColorAnimationBase.cs
- EmbossBitmapEffect.cs
- MetadataException.cs
- NativeMethods.cs
- EditorZoneBase.cs
- MetadataCacheItem.cs
- ClrProviderManifest.cs
- SR.cs
- FacetChecker.cs
- ObsoleteAttribute.cs
- DecoderFallback.cs
- propertytag.cs
- PolicyManager.cs
- AlgoModule.cs
- QuadraticBezierSegment.cs