private void valueToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (tabControl.SelectedIndex == 0)
     {
         DataGridViewUtility.FillSelectedValue(dataGridView1);
     }
     else if (tabControl.SelectedIndex == 1)
     {
         DataGridViewUtility.FillSelectedValue(dataGridView2);
     }
     else if (tabControl.SelectedIndex == 2)
     {
         DataGridViewUtility.FillSelectedValue(dataGridView3);
     }
 }
예제 #2
0
 private void valueToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DataGridViewUtility.FillSelectedValue(GetCurrentDataGridView());
 }