private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { this.Hide(); int idbukuta = Convert.ToInt32(dataGridView1.CurrentRow.Cells[1].Value); databukuta db = new databukuta(idbukuta); db.ShowDialog(); }
private void btnbaru_Click(object sender, EventArgs e) { this.Hide(); databukuta dta = new databukuta(); if (dta.ShowDialog() == DialogResult.OK) { dta.ShowDialog(); } }