Esempio n. 1
0
        private void buttonBukuBesar_Click(object sender, EventArgs e)
        {
            Form form = Application.OpenForms["FormLaporanBukuBesar"];

            if (form == null)
            {
                FormLaporanBukuBesar fp = new FormLaporanBukuBesar();
                fp.MdiParent = this;
                fp.Show();
            }
            else
            {
                form.Show();
                form.BringToFront();
            }
        }
Esempio n. 2
0
        private void buttonPelanggan_Click(object sender, EventArgs e)
        {
            Form form = Application.OpenForms["FormDaftarPelanggan"];

            if (form == null)
            {
                FormLaporanBukuBesar frmPelanggan = new FormLaporanBukuBesar();
                frmPelanggan.MdiParent = this;
                frmPelanggan.Show();
            }
            else
            {
                form.Show();
                form.BringToFront();
            }
        }