Esempio n. 1
0
        //return book
        private void btn_return_Click(object sender, EventArgs e)
        {
            this.Hide();
            ReturnBook returnbook = new ReturnBook();

            //testReturn returnbook = new testReturn();
            returnbook.Show();
        }
Esempio n. 2
0
        /// <summary>
        /// 进入还书界面
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnReturn_Click(object sender, EventArgs e)
        {
            this.Hide();
            int stock = 0;

            if (!txtStock.Text.Equals(""))
            {
                stock = Convert.ToInt32(txtStock.Text.ToString());
            }
            ReturnBook returnBook = new ReturnBook(correctID, stock, this);

            returnBook.Show();
        }
Esempio n. 3
0
 /// <summary>
 /// 进入还书界面
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnReturn_Click(object sender, EventArgs e)
 {
     this.Hide();
     int stock = 0;
     if(!txtStock.Text.Equals(""))
     {
          stock = Convert.ToInt32(txtStock.Text.ToString());
     }
     ReturnBook returnBook = new ReturnBook(correctID, stock,this);
     returnBook.Show();
 }