예제 #1
0
        private void btnInputPegawai_Click(object sender, EventArgs e)
        {
            var frmPegawai = new FrmPegawai();

            frmPegawai._aksi = "insert";
            frmPegawai.ShowDialog();
        }
예제 #2
0
 private void materialRaisedButton2_Click(object sender, EventArgs e)
 {
     if (_table == "pegawai")
     {
         FrmPegawai fp = new FrmPegawai();
         fp._aksi = "update";
         fp._id   = _id;
         fp.ShowDialog();
         this.Close();
     }
 }