예제 #1
0
 private void dataGridView2_MouseDown(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         Action2.Show(dataGridView2, e.Location);
     }
     foreach (DataGridViewRow row in dataGridView2.SelectedRows)
     {
         selectedcatID = row.Cells[0].Value.ToString();
     }
 }