private void dtgDev_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (Convert.ToInt16(dtgDev.Rows[e.RowIndex].Cells[0].Value) > 0)
            {
                pesquisaUser = Convert.ToInt16(dtgDev.Rows[e.RowIndex].Cells[0].Value);
                this.Close();
            }

            frmEmprestimo_Reserva tela = new frmEmprestimo_Reserva();

            tela.ShowDialog();
        }
예제 #2
0
        private void btnEmprestimo_Click(object sender, EventArgs e)
        {
            frmEmprestimo_Reserva emp = new frmEmprestimo_Reserva();

            emp.ShowDialog();
        }