public static SettingMotionForm getInstance() { if (one == null) { one = new SettingMotionForm(); } return(one); }
private void Form1_Load(object sender, EventArgs e) { us1 = new BoardForm(); us3 = SettingMotionForm.getInstance(); this.panel1.Controls.Add(us1); }