private void btnAddType_Click(object sender, EventArgs e) { DishTypeInfoList dishTypeInfoList = new DishTypeInfoList(); dishTypeInfoList.Type += LoadTypeList; dishTypeInfoList.Show(); }
//分类管理 private void buttonfenlei_Click(object sender, EventArgs e) { DishTypeInfoList dtiList = new DishTypeInfoList(); dtiList.UpdateTypeEvent += UpdateType; dtiList.Show(); }
private void btnDishType_Click(object sender, EventArgs e) { DishTypeInfoList dtil = DishTypeInfoList.Create(); dtil.UpdateTypeEvent += UpdateType; dtil.Show(); dtil.Focus(); }
private void btnAddType_Click(object sender, EventArgs e) { DishTypeInfoList dtiList = new DishTypeInfoList(); dtiList.UpdateTypeEvent += UdateType; dtiList.Show(); dtiList.Focus(); }