Exemple #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            frmPulsa frm = new frmPulsa();

            frm.TopLevel = false;
            pnlForm.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }
Exemple #2
0
        private void btnRefill_Click(object sender, EventArgs e)
        {
            frmPulsa frm = new frmPulsa();

            frm.TopLevel = false;
            mainForm.pnlForm.Controls.Clear();
            mainForm.pnlForm.Controls.Add(frm);
            frm.BringToFront();
            frm.pnlKeterangan.Visible = true;
            frm.Show();
        }