src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/Shapes.cs
/// <summary>
/// Initializes style set resources for this shape type
/// </summary>
/// <param name="classStyleSet">The style set for this shape class</param>
Initializes style set resources for this shape type
Initializes style set resources for this shape type
protected override void InitializeResources(DslDiagrams::StyleSet classStyleSet)
		{
			base.InitializeResources(classStyleSet);
			DslDiagrams::PenSettings outlinePen = new DslDiagrams::PenSettings();
			outlinePen.Color = global::System.Drawing.Color.FromArgb(255, 24, 143, 222);
			outlinePen.Width = 0.01F;
			classStyleSet.OverridePen(DslDiagrams::DiagramPens.ShapeOutline, outlinePen);
			DslDiagrams::BrushSettings backgroundBrush = new DslDiagrams::BrushSettings();
			backgroundBrush.Color = global::System.Drawing.Color.FromArgb(255, 0, 122, 204);
			classStyleSet.OverrideBrush(DslDiagrams::DiagramBrushes.ShapeBackground, backgroundBrush);
			DslDiagrams::FontSettings fontSettings;
			fontSettings = new DslDiagrams::FontSettings();
			fontSettings.Style =  global::System.Drawing.FontStyle.Bold ;
			fontSettings.Size = 8/72.0F;
			classStyleSet.AddFont(new DslDiagrams::StyleSetResourceId(string.Empty, "ShapeTextBold8"), DslDiagrams::DiagramFonts.ShapeText, fontSettings);
		}
protected override void InitializeResources ( DslDiagrams :: StyleSet classStyleSet ) { base . InitializeResources ( classStyleSet ) ; DslDiagrams :: PenSettings outlinePen = new DslDiagrams :: PenSettings ( ) ; outlinePen . Color = global :: System . Drawing . Color . FromArgb ( 255 , 24 , 143 , 222 ) ; outlinePen . Width = 0.01F ; classStyleSet . OverridePen ( DslDiagrams :: DiagramPens . ShapeOutline , outlinePen ) ; DslDiagrams :: BrushSettings backgroundBrush = new DslDiagrams :: BrushSettings ( ) ; backgroundBrush . Color = global :: System . Drawing . Color . FromArgb ( 255 , 0 , 122 , 204 ) ; classStyleSet . OverrideBrush ( DslDiagrams :: DiagramBrushes . ShapeBackground , backgroundBrush ) ; DslDiagrams :: FontSettings fontSettings ; fontSettings = new DslDiagrams :: FontSettings ( ) ; fontSettings . Style = global :: System . Drawing . FontStyle . Bold ; fontSettings . Size = 8 / 72.0F ; classStyleSet . AddFont ( new DslDiagrams :: StyleSetResourceId ( string . Empty , " " ) , DslDiagrams :: DiagramFonts . ShapeText , fontSettings ) ; }
Initializes style set resources for this shape type
Initializes style set resources for this shape type
// Outline pen settings for this shape. // Fill brush settings for this shape. // Custom font styles
classStyleSet
DslDiagrams::StyleSet
The style set for this shape class
The style set for this shape class