Ejemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     this.Close();
     if (radioButton1.Checked)
     {
         CreateOrEditTestWindow w = new CreateOrEditTestWindow();
         w.ShowDialog();
     }
     else
     {
         CreateOrEditVarTestWindow w = new CreateOrEditVarTestWindow();
         w.ShowDialog();
     }
 }
Ejemplo n.º 2
0
 private void редактироватьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CreateOrEditTestWindow w = new CreateOrEditTestWindow();
     foreach (DataGridViewRow i in this.wordsTable.Rows)
         w.dataGridView1.Rows.Add(i.Cells[0].Value, i.Cells[1].Value, i.Cells[2].Value);
     w.ShowDialog();
 }