From 671ffb1ac11f0ea00524510af965550c3fbc40ad Mon Sep 17 00:00:00 2001 From: d23004 <kimseijin@diteam.co.kr> Date: ์, 24 5์ 2023 13:41:44 +0900 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- SA_LTT_UI/SA_LTT_UI/UserControls/TitleBox.cs | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/SA_LTT_UI/SA_LTT_UI/UserControls/TitleBox.cs b/SA_LTT_UI/SA_LTT_UI/UserControls/TitleBox.cs new file mode 100644 index 0000000..fc5f367 --- /dev/null +++ b/SA_LTT_UI/SA_LTT_UI/UserControls/TitleBox.cs @@ -0,0 +1,65 @@ +็คํsing System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; +using System.Windows.Forms.Design; + +namespace SA_LTT_UI.UserControls +{ + [ + Designer(typeof(TitleBoxDesigner)) + ] + public partial class TitleBox : UserControl + { + public TitleBox() + { + InitializeComponent(); + } + + [ + Category("Appearance"), + DesignerSerializationVisibility(DesignerSerializationVisibility.Content) + ] + public Label Title + { + get + { + return lb_Title; + } + } + + [ + Category("Appearance"), + DesignerSerializationVisibility(DesignerSerializationVisibility.Content) + ] + public Panel WorkingArea + { + get + { + return this.pnl_WorkingArea; + } + } + + private void TitleBox_Load(object sender, EventArgs e) + { + + } + } + + public class TitleBoxDesigner : ParentControlDesigner + { + public override void Initialize(System.ComponentModel.IComponent component) + { + base.Initialize(component); + if (this.Control is TitleBox) + { + this.EnableDesignMode(((TitleBox)this.Control).WorkingArea, "WorkingArea"); + } + } + } +} -- Gitblit v1.9.3