public static void Add2(System.Windows.Forms.Control con) { AddClickAct ins = new AddClickAct(); ins.con = con; con.MouseDown += ins.con_mouseDown2; con.MouseUp += ins.con_mouseUp2; }
public static void Add3(System.Windows.Forms.Control con) { AddClickAct ins = new AddClickAct(); ins.con = con; con.MouseDown += ins.con_mouseDown3; con.MouseUp += ins.con_mouseUp3; ins.c = ins.con.BackColor; }