Exemplo n.º 1
0
        private void изменитьВопросToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string text              = dataGridViewVoprosy.Rows[indexRow].Cells[3].Value.ToString();
            string idVoprosa         = dataGridViewVoprosy.Rows[indexRow].Cells[6].Value.ToString();
            string type              = dataGridViewVoprosy.Rows[indexRow].Cells[0].Value.ToString();
            string oblast            = dataGridViewVoprosy.Rows[indexRow].Cells[1].Value.ToString();
            string ball              = dataGridViewVoprosy.Rows[indexRow].Cells[4].Value.ToString();
            string path              = dataGridViewVoprosy.Rows[indexRow].Cells[5].Value.ToString();
            FormSozdanieVoprosa form = new FormSozdanieVoprosa('u', idVoprosa, text, type, oblast, ball, path);

            form.ShowDialog();
            LoadData();
        }
Exemplo n.º 2
0
        private void добавитьВопросToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormSozdanieVoprosa form = new FormSozdanieVoprosa();

            form.ShowDialog();
        }