private void pictureBox2_Click(object sender, EventArgs e) { tipex = 1; transaksiFormJs peg = new transaksiFormJs(); peg.Show(); }
private void Yesbtn_Click(object sender, EventArgs e) { if (TransaksiLanjutForm.tesmasuk == 1) { TransaksiLanjutForm obj = (TransaksiLanjutForm)Application.OpenForms["TransaksiLanjutForm"]; obj.Close(); TransaksiForm admin = new TransaksiForm(); TransaksiLanjutForm.tesmasuk = 0; admin.Show(); this.Hide(); } else if (TransaksiJs.tesmasuk == 1) { TransaksiJs obj = (TransaksiJs)Application.OpenForms["TransaksiJs"]; obj.Close(); transaksiFormJs admin = new transaksiFormJs(); admin.Show(); TransaksiJs.tesmasuk = 0; this.Hide(); } }