Exemple #1
0
        private void bunifuFlatButton1_Click_1(object sender, EventArgs e)
        {
            dashboardScolarite listenForm = new dashboardScolarite(obj);

            listenForm.TopLevel   = false;
            listenForm.AutoScroll = true;
            container.Controls.Clear();
            container.Controls.Add(listenForm);
            listenForm.Show();
        }
Exemple #2
0
        public menuScolarite(IScolarite obj)
        {
            this.obj = obj;
            InitializeComponent();
            prenomLabel.Text = loginForm.user.prenom;
            dashboardScolarite emp = new dashboardScolarite(obj);

            emp.TopLevel   = false;
            emp.AutoScroll = false;
            container.Controls.Clear();
            container.Controls.Add(emp);
            emp.Show();
        }