Example #1
0
        private void bHome_Click(object sender, EventArgs e)
        {
            frWelcome fr = new frWelcome(this);

            this.pnlMid.Controls.Clear();
            fr.TopLevel = false;
            fr.Dock     = DockStyle.Fill;
            fr.Show();
            this.pnlMid.Controls.Add(fr);
            SetCurrentForm("bHome");
            SetBreadCrumb("Home");
        }
Example #2
0
        public frMain()
        {
            InitializeComponent();
            frWelcome fr = new frWelcome(this);

            this.pnlMid.Controls.Clear();
            fr.TopLevel = false;
            fr.Dock     = DockStyle.Fill;
            fr.Show();
            this.pnlMid.Controls.Add(fr);
            SetCurrentForm("bHome");
            SetBreadCrumb("Home");
        }