Esempio n. 1
0
 private void buttonDataBarang_Click(object sender, EventArgs e)
 {
     try {
         FormDataBarang dataBarang = new FormDataBarang();
         mainForm.Add(dataBarang);
     } catch (Exception ex) {
         CustomMessageBox.Show("Error : " + ex.Message);
     }
 }
Esempio n. 2
0
 private void buttonKembali_Click(object sender, EventArgs e)
 {
     try {
         this.Close();
         FormDataBarang form = new FormDataBarang();
         mainForm.Add(form);
     } catch (Exception ex) {
         CustomMessageBox.Show("Error : " + ex.Message);
     }
 }