private void button28_Click(object sender, EventArgs e)
        {
            sideVisible(button28);


            //Hide Panels
            panelProcessSub.Visible     = false;
            panelSavings.Visible        = false;
            panelMembership.Visible     = false;
            panelReportSub.Visible      = false;
            panelMemberSettings.Visible = false;
            panelLoan.Visible           = false;
            panelPDCManagement.Visible  = false;

            //controls
            foreach (Form form in Application.OpenForms)
            {
                if (form.GetType() == typeof(BillingAndCollectionMain))
                {
                    form.Activate();
                    return;
                }
            }

            BillingAndCollectionMain frm = new BillingAndCollectionMain();

            frm.Show();
            frm.MdiParent = this;
        }
Exemple #2
0
        private void panel1_Click(object sender, EventArgs e)
        {
            //Bring To Front (Child Form)
            //Nikko Melgar
            foreach (Form form in Application.OpenForms)
            {
                if (form.GetType() == typeof(BillingAndCollectionMain))
                {
                    form.Activate();
                    return;
                }
            }

            BillingAndCollectionMain frm = new BillingAndCollectionMain();
            MainForm main = new MainForm();

            frm.Show();
            frm.MdiParent = main;
        }