Exemple #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();
        }
Exemple #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();
        }
Exemple #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();
 }