Esempio n. 1
0
        private void btn_dashboard_Click(object sender, EventArgs e)
        {
            frm_dashboard _dashboard = new frm_dashboard(this);

            panel_body.Controls.Clear();
            _dashboard.TopLevel = false;

            panel_body.Controls.Add(_dashboard);
            _dashboard.Show();
            lbl_current_tab.Text = "Dashboard";
        }
Esempio n. 2
0
        private void frm_fas_Load(object sender, EventArgs e)
        {
            Users user = new Users();

            user.Id            = this._user_id;
            this._privilege_id = user.SelectUser();

            frm_dashboard _dashboard = new frm_dashboard(this);

            _dashboard.TopLevel = false;
            panel_body.Controls.Clear();
            panel_body.Controls.Add(_dashboard);
            _dashboard.Show();

            //frm_add_multiple_item _item = new frm_add_multiple_item();
            //uc_add_item _item = new uc_add_item();
            //_item.TopLevel = false;
            //panel_body.Controls.Clear();
            //panel_body.Controls.Add(_item);
            //_item.Show();
        }