初始化提交
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user