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(); }
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); }
public static DishInfoList CreateDishInfoList() { if (_dishInfoList == null || _dishInfoList.IsDisposed) { _dishInfoList = new DishInfoList(); } return(_dishInfoList); }