private void btnxiugaibanci_Click(object sender, EventArgs e)
 {
     if (dgvFrequencyInfornation.Rows.Count != 0)
     {
         FrequencyID = Convert.ToInt32(dgvFrequencyInfornation.CurrentRow.Cells["FrequencyIDD"].Value);
         if (FrequencyID != 0)
         {
             this.Visible = false;
             Frm修改班次窗口 myFrm修改班次窗口 = new Frm修改班次窗口();
             myFrm修改班次窗口.ShowDialog();
         }
     }
     else
     {
         MessageBox.Show("请新增班次");
     }
 }
Exemple #2
0
        private void btnxiugaibanci_Click(object sender, EventArgs e)
        {
            Frm修改班次窗口 myFrm修改班次窗口 = new Frm修改班次窗口();

            myFrm修改班次窗口.ShowDialog();
        }