Пример #1
0
        //add manager button
        private void add_manager_btn_Click(object sender, EventArgs e)
        {
            slide_panel.Height = add_manager_btn.Height;
            slide_panel.Top    = add_manager_btn.Top;
            add_manager_panel.BringToFront();
            User_list user = new User_list();

            user.Close();
        }
Пример #2
0
        private void user_list_btn_Click(object sender, EventArgs e)
        {
            slide_panel.Height = user_list_btn.Height;
            slide_panel.Top    = user_list_btn.Top;
            User_list users_list = new User_list();

            users_list.Show();
            this.Hide();
        }
Пример #3
0
        //logout button
        private void logout_btn_Click(object sender, EventArgs e)
        {
            Login     login    = new Login();
            User_list userlist = new User_list();

            userlist.Close();
            this.Close();

            login.Show();
        }