private void panel1_Click(object sender, EventArgs e)
        {
            //controls
            foreach (Form form in Application.OpenForms)
            {
                if (form.GetType() == typeof(InvalidAccounts))
                {
                    form.Activate();
                    return;
                }
            }

            InvalidAccounts frm = new InvalidAccounts();

            frm.Show();
            frm.MdiParent = this;
        }
        private void button19_Click(object sender, EventArgs e)
        {
            //Hide sub menu filemaintenance
            panelProcessSub.Visible = false;

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

            InvalidAccounts frm = new InvalidAccounts();

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