Exemple #1
0
        private void verTodasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DuvidaProf frm_DuvidaProf = new DuvidaProf(pessoa);

            this.Dispose();
            frm_DuvidaProf.ShowDialog();
        }
Exemple #2
0
        private void dg_duv_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex > -1)
            {
                pessoa.id_duv = Convert.ToInt32(dg_duv.Rows[e.RowIndex].Cells[0].Value.ToString());
                pessoa.duv    = dg_duv.Rows[e.RowIndex].Cells[1].Value.ToString();
                pessoa.resp   = dg_duv.Rows[e.RowIndex].Cells[2].Value.ToString();
                pessoa.nome   = dg_duv.Rows[e.RowIndex].Cells[4].Value.ToString();
                pessoa.date   = Convert.ToDateTime(dg_duv.Rows[e.RowIndex].Cells[5].Value);



                DuvidaProf frm_DuvidaProf = new DuvidaProf(pessoa);
                this.Dispose();
                frm_DuvidaProf.ShowDialog();
            }
        }