private void dataGridView1_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e) { Conta linha = dataGridView1.SelectedRows[0].DataBoundItem as Conta; fmrCadastroConta fmrEdit = new fmrCadastroConta(linha); fmrEdit.RetornoConsulta(); this.Hide(); fmrEdit.Show(); }
private void button5_Click(object sender, EventArgs e) { fmrCadastroConta cadastro = new fmrCadastroConta(); cadastro.Show(); }