public void showChose(String num) { if (_table.checktb(num) == true) { ucchose = new ucChose(this, _table, _table.getTable(num)); this.removeTable(); this.Controls.Add(ucchose); ucchose.Width = scWidth; ucchose.Height = scHeight; } else { ucchosenew = new ucChoseNew(this, _table, num); ucchosenew.Width = scWidth; ucchosenew.Height = scHeight; this.removeTable(); this.Controls.Add(ucchosenew); } }
public Ghichumonan(Food f, ucChose chose) { InitializeComponent(); food = f; this.chose = chose; }