예제 #1
0
        private void btnNovaPergunta_Click(object sender, EventArgs e)
        {
            var objFrmPergunta = new FrmPergunta();

            objFrmPergunta.ShowDialog();

            CarregarGrids();
        }
예제 #2
0
        private void grdPerguntas_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            if (grdPerguntas.Rows[e.RowIndex].IsNewRow)
            {
                return;
            }

            var objFrmPergunta = new FrmPergunta(grdPerguntas.Rows[e.RowIndex].Cells[0].Value as Questao);

            objFrmPergunta.ShowDialog();

            CarregarGrids();
        }