Files
Inspection/JinYuan.ControlLib/ucPanel_400_200.cs
T
2026-09-09 19:21:21 +08:00

41 lines
985 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace JinYuan.ControlLib
{
[Designer("System.Windows.Forms.Design.ParentControlDesigner, System.Design", typeof(IDesigner))]
public partial class ucPanel_400_200 : UserControl
{
public ucPanel_400_200()
{
InitializeComponent();
}
[Category("自定义参数")]
[DefaultValue("标题文字")]
[Description("标题文字")]
[Browsable(true)]
public string Title
{
set
{
lbTitle.Text = value;
lbTitle.Invalidate();
pbArrow.Left = lbTitle.Right + 3;
}
get
{
return lbTitle.Text;
}
}
}
}