예제 #1
0
        private void paginaInicialToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Panel p    = this.Parent as Panel;
            var   cadP = new ucMain();

            panelPrincipal.Controls.Clear();
            panelPrincipal.Controls.Add(cadP);
        }
예제 #2
0
        public frmMain()
        {
            InitializeComponent();
            Panel p    = this.Parent as Panel;
            var   cadP = new ucMain();

            panelPrincipal.Controls.Clear();
            panelPrincipal.Controls.Add(cadP);
        }