Exemple #1
0
 /// <summary>
 /// 线程 打开归还窗口
 /// </summary>
 private void ThreadProcReturnDialog()
 {
     int index = dgvBookList.CurrentRow.Index;
     string book_id = dgvBookList.Rows[index].Cells["b_id"].Value.ToString();
     Return form = new Return(book_id);
     UpdateData(form);
 }
Exemple #2
0
 /// <summary>
 /// 弹出归还窗口
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void returnBtn_Click(object sender, EventArgs e)
 {
     int index = dgvBookList.CurrentRow.Index;
     string book_id = dgvBookList.Rows[index].Cells["b_id"].Value.ToString();
     Return form = new Return(book_id);
     UpdateData(form);
 }