// 뒤로가기 버튼을 눌렀을 때
        private void btn_rentReturn_back_Click(object sender, EventArgs e)
        {
            userForm userform = new userForm();

            userform.FormClosed += new FormClosedEventHandler(RentAndReturnForm_FormClosed);
            userform.Show();
            this.Hide();
        }
        private void btn_search_back_Click(object sender, EventArgs e)
        {
            userForm userform = new userForm();

            userform.FormClosed += new FormClosedEventHandler(SearchCommodityForm_FormClosed);
            userform.Show();
            this.Hide();
        }
Exemplo n.º 3
0
        } // M.loginPwCheck

        // UserForm Open
        public void openUserForm()
        {
            sd.CurrentId = txtBox_id.Text;
            userForm userform = new userForm();

            userform.FormClosed += new FormClosedEventHandler(LoginForm_FormClosed);
            userform.Show();
            this.Hide();
        } // M.openUserForm