diff options
| author | Roy <Roy.mail.net@gmail.com> | 2022-11-15 11:14:01 +0200 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2022-11-15 11:14:01 +0200 |
| commit | 59052dd593c0d3d4eb2bf6c579e44c06daf7a038 (patch) | |
| tree | d39dd9289e16d897e82efe8be4c48509c4895cbb /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls | |
| parent | 81b37f187ad6823bb27ce132782301fb0bbd0c75 (diff) | |
| download | Tango-59052dd593c0d3d4eb2bf6c579e44c06daf7a038.tar.gz Tango-59052dd593c0d3d4eb2bf6c579e44c06daf7a038.zip | |
Job runs extended info.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs index 86d83ac10..98f999574 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs @@ -18,6 +18,9 @@ namespace Tango.MachineStudio.Developer.Controls public class JobOutlineControl : Control { #region members + + public bool DrawMainTitle { get; set; } = true; + private Size _sizeControl = new Size(0, 0); ScrollViewer _parentScrollViewer = null; public struct LevelOffset @@ -88,8 +91,12 @@ namespace Tango.MachineStudio.Developer.Controls } _sizeControl = new Size(); _sizeControl.Height += 10; - DrawHeaderText(drawingContext, "JOB OUTLINE", 30, LevelOffset.level_0); - _sizeControl.Height += HEADER_FONT_HEIGHT; + + if (DrawMainTitle) + { + DrawHeaderText(drawingContext, "JOB OUTLINE", 30, LevelOffset.level_0); + _sizeControl.Height += HEADER_FONT_HEIGHT; + } _sizeControl.Height += 20; DrawHeaderText(drawingContext, "BASIC", 17, LevelOffset.level_0); |
