private void cM2Btn_Click(object sender, EventArgs e)
        {
            MainPageView mainpage = new MainPageView();

            mainpage.Visible = true;
            mainpage.loadFilePanel.Visible = false;
            mainpage.mainPnl.Visible       = true;
            this.Visible = false;
        }
Beispiel #2
0
        public void loadpanel()
        {
            Login        login1  = new Login();
            MainPageView newpage = new MainPageView();

            newpage.Show();
            newpage.loadFilePanel.SuspendLayout();
            newpage.loadFilePanel.Visible = true;
            newpage.loadFilePanel.BringToFront();
            newpage.loadFilePanel.Location = new System.Drawing.Point(0, 24);
            newpage.loadFilePanel.ResumeLayout();
        }