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(); }