日期:2014-05-17 浏览次数:20913 次
public partial class HH : UserControl
{
#region 变量
public enum Type1
{
A,
B
}
private Type1 activeTool;
#endregion
public HH()
{
InitializeComponent();
}
public Type1 ActiveTool
{
get
{
return activeTool;
}
set
{
activeTool = value;
}
}
public void DrawA(Graphics g, Rectangle rect)
{
}
public void DrawB(Graphics g, Rectangle rect)
{
}
}