Exemplo n.º 1
0
        private void but_welcome_side_panel_Click(object sender, EventArgs e)
        {
            panel_main.Controls.Clear();
            Control_Welcome welcomeControl = new Control_Welcome();

            welcomeControl.Dock = DockStyle.Fill;
            panel_main.Controls.Add(welcomeControl);
        }
Exemplo n.º 2
0
        private void WelcomeForm_Load(object sender, EventArgs e)
        {
            Placement_Application.Components.Resolution res = new Placement_Application.Components.Resolution();
            res.ResizeForm(this, Common.form_height, Common.form_width);
            timer1.Start();
            timer1.Interval = 1000;
            Control_Welcome welcomeControl = new Control_Welcome();

            welcomeControl.Dock = DockStyle.Fill;
            panel_main.Controls.Add(welcomeControl);
        }