Exemple #1
0
 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);
     }
 }
Exemple #2
0
 public Ghichumonan(Food f, ucChose chose)
 {
     InitializeComponent();
     food       = f;
     this.chose = chose;
 }