Esempio n. 1
0
        private void btnTambah_Click(object sender, EventArgs e)
        {
            FrmTambahBarang frm = new FrmTambahBarang();

            frm.ShowDialog();
            this.FrmTampilBarang_Load(null, null);
        }
Esempio n. 2
0
 private void dgvDataBarang_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (this.dgvDataBarang.SelectedRows.Count > 0)
     {
         FrmTambahBarang frm = new FrmTambahBarang();
         frm.Run(new BarangDAO(sqlString).GetDataBarangByKode(this.dgvDataBarang.CurrentRow.Cells[0].Value.ToString()));
     }
     FrmTampilBarang_Load(null, null);
 }
        private void btnTambah_Click(object sender, EventArgs e)
        {
            FrmTambahBarang frm = new FrmTambahBarang();

            frm.ShowDialog();
        }