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(); }
//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(); }
private void user_list_btn_Click(object sender, EventArgs e) { slide_panel.Width = user_list_btn.Width; slide_panel.Left = user_list_btn.Left; User_list users_list = new User_list(); users_list.Show(); this.Hide(); }
//add manager button private void add_manager_btn_Click(object sender, EventArgs e) { slide_panel.Width = add_manager_btn.Width; slide_panel.Left = add_manager_btn.Left; add_manager_panel.BringToFront(); User_list user = new User_list(); user.Close(); }
//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(); }