Exemple #1
0
        private void menuDish_Click(object sender, EventArgs e)
        {
            DishInfoList Dil = DishInfoList.Create();

            Dil.Show();
            Dil.Focus();
        }
        private void menuDish_Click(object sender, EventArgs e)
        {
            DishInfoList diList = FormFactory.GreateDIL();

            diList.Show();
            diList.Focus();
        }
Exemple #3
0
 public static DishInfoList Create()
 {
     if (dish == null || dish.IsDisposed)
     {
         dish = new DishInfoList();
     }
     return(dish);
 }
 public static DishInfoList GreateDIL()
 {
     if (dishInfoList == null || dishInfoList.IsDisposed)
     {
         dishInfoList = new DishInfoList();
     }
     return(dishInfoList);
 }
Exemple #5
0
 public static DishInfoList CreateDishInfoList()
 {
     if (_dishInfoList == null || _dishInfoList.IsDisposed)
     {
         _dishInfoList = new DishInfoList();
     }
     return(_dishInfoList);
 }