Example #1
0
 private void tsbtnUserPaper_Click(object sender, EventArgs e)
 {
     if (dataGridView1.CurrentCell != null)
     {
         frmUserPaper fup = new frmUserPaper(dataGridView1.CurrentRow.Cells[1].Value.ToString(), dataGridView1.CurrentRow.Cells[2].Value.ToString(), dataGridView1.CurrentRow.Cells[3].Value.ToString());
         fup.Show();
     }
     else
     {
         MessageBox.Show("请选择评阅用户!");
     }
 }
 private void tsbtnUserPaper_Click(object sender, EventArgs e)
 {
     if (dataGridView1.CurrentCell != null)
     {
         frmUserPaper fup = new frmUserPaper(dataGridView1.CurrentRow.Cells[1].Value.ToString(), dataGridView1.CurrentRow.Cells[2].Value.ToString(), dataGridView1.CurrentRow.Cells[3].Value.ToString());
         fup.Show();
     }
     else
     {
         MessageBox.Show("请选择评阅用户!");
     }
 }