public static OrderDishList Create() { if (odl == null || odl.IsDisposed) { odl = new OrderDishList(); } return(odl); }
private void btnShowOrderDish_Click(object sender, EventArgs e) { OrderDishList odl = OrderDishList.Create(); //给他餐桌编号,才能查询出已点菜品 odl.Tag = tableId; odl.Show(); odl.Focus(); }