public VisualGraph() { InitializeComponent(); ObjList = new ObjList(); tools = new SelectTool(); ActivedObjType = Global.DrawType.POINTER; }
public VisualGraph() { InitializeComponent(); ObjList = new ObjList(); tools = new SelectTool(); SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint | ControlStyles.DoubleBuffer, true); ActivedObjType = Global.DrawType.POINTER; }