public FTransaksi() { InitializeComponent(); //REPORT - Mengisi nilai ObTransaksi dengan FTransaksi ObjTransaksi = this; //memanggil prosedur awal awal(); }
private void submenu_selling_Click(object sender, EventArgs e) { //memanggil form transakti if (trx == null) { trx = new FTransaksi(); trx.MdiParent = this; trx.FormClosed += new FormClosedEventHandler(Proc_TransaksiClosed); trx.Show(); } else { trx.Activate(); } }
void Proc_TransaksiClosed(Object sender, FormClosedEventArgs e) { trx = null; }