Exemplo n.º 1
0
        private void btnTagihan_Click(object sender, EventArgs e)
        {
            frmPLNPascaNominal frmNominal = new frmPLNPascaNominal();
            frmPLN             frm        = new frmPLN(frmNominal);

            frm.type          = "PASCA";
            frm.lblTitle.Text = "PLN PASCA BAYAR";
            frm.TopLevel      = false;
            //frm.pnlNominal.Visible = true;
            mainForm.pnlForm.Controls.Clear();
            mainForm.pnlForm.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();


            frmNominal.TopLevel = false;
            frm.pnlNominal.Controls.Add(frmNominal);
            frmNominal.BringToFront();
            frmNominal.Show();
        }
Exemplo n.º 2
0
 public frmPLN(frmPLNPascaNominal frmNominal)
 {
     InitializeComponent();
     this.frmNominal = frmNominal;
     isCheck         = true;
 }