예제 #1
0
        private void btnAddType_Click(object sender, EventArgs e)
        {
            DishTypeInfoList dishTypeInfoList = new DishTypeInfoList();

            dishTypeInfoList.Type += LoadTypeList;
            dishTypeInfoList.Show();
        }
예제 #2
0
        //分类管理
        private void buttonfenlei_Click(object sender, EventArgs e)
        {
            DishTypeInfoList dtiList = new DishTypeInfoList();

            dtiList.UpdateTypeEvent += UpdateType;
            dtiList.Show();
        }
예제 #3
0
        private void btnDishType_Click(object sender, EventArgs e)
        {
            DishTypeInfoList dtil = DishTypeInfoList.Create();

            dtil.UpdateTypeEvent += UpdateType;
            dtil.Show();
            dtil.Focus();
        }
예제 #4
0
        private void btnAddType_Click(object sender, EventArgs e)
        {
            DishTypeInfoList dtiList = new DishTypeInfoList();

            dtiList.UpdateTypeEvent += UdateType;
            dtiList.Show();
            dtiList.Focus();
        }
예제 #5
0
 public static DishTypeInfoList Create()
 {
     if (dtil == null || dtil.IsDisposed)
     {
         dtil = new DishTypeInfoList();
     }
     return(dtil);
 }
예제 #6
0
 public static DishTypeInfoList CreateDishTypeInfoList()
 {
     if (_dishTypeInfoList == null || _dishTypeInfoList.IsDisposed)
     {
         _dishTypeInfoList = new DishTypeInfoList();
     }
     return(_dishTypeInfoList);
 }