예제 #1
0
        private void BT_TrajEdit_Click(object sender, EventArgs e)
        {
            if (gv.GetFocusedDataSourceRowIndex() < 0 || gv.RowCount < 1)
            {
                MessageBox.Show("没有路径");
                return;
            }
            Edit_Traj frm = new Edit_Traj(CBE_RecipeName.EditValue.ToString(), gv.GetSelectedRows()[0] + 1);

            frm.ShowDialog();
            TrajInfor();
        }
예제 #2
0
 private void BT_TrajEdit_Click(object sender, EventArgs e)
 {
     if (gv.GetFocusedDataSourceRowIndex() < 0 || gv.RowCount < 1)
     {
         MessageBox.Show("没有路径");
         return;
     }
     Edit_Traj frm = new Edit_Traj(CBE_RecipeName.EditValue.ToString(), gv.GetSelectedRows()[0] + 1);
     frm.ShowDialog();
     TrajInfor();
 }