示例#1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            NuevaRutinaScreen screen = new NuevaRutinaScreen()
            {
                TopLevel   = false,
                AutoScroll = false
            };

            panel1.Controls.Add(screen);
            screen.Show();
        }
示例#2
0
        private void añadirButton_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            NuevaRutinaScreen screen = new NuevaRutinaScreen()
            {
                TopLevel   = false,
                AutoScroll = false
            };

            panel1.Controls.Add(screen);
            screen.Show();
        }