Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Home_Admin myForm = new Home_Admin();

            myForm.TopLevel   = false;
            myForm.AutoScroll = true;
            this.LoadingPanel.Controls.Add(myForm);
            myForm.Show();
        }
Esempio n. 2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            maxstat              = false;
            btnUsers.Font        = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnPanel.Font        = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnOperation.Font    = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnClients.Font      = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnPartners.Font     = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnUsers.Font        = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnCashRegister.Font = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnReports.Font      = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnBalance.Font      = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnInsurance.Font    = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnNotification.Font = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnPrices.Font       = new Font("DINPro-Bold", 10, FontStyle.Regular);
            btnBackup.Font       = new Font("DINPro-Bold", 10, FontStyle.Regular);

            Home_Admin myForm = new Home_Admin();

            myForm.TopLevel   = false;
            myForm.AutoScroll = true;
            this.LoadingPanel.Controls.Add(myForm);
            myForm.Show();
        }