Ejemplo n.º 1
0
        /// <summary>
        /// 添加图书信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        public void btn_AddBookInfo_Click(object sender, EventArgs e)
        {
            Frm_BookInfoEdit bookInfoAdd = new Frm_BookInfoEdit();

            if (bookInfoAdd.ShowDialog() == DialogResult.OK)
            {
                ShowDataToDataGridView();
            }
        }
Ejemplo n.º 2
0
        private void BookInfoAlter(string selectedBookGuid)
        {
            Frm_BookInfoEdit frm_BookInfoAlter = new Frm_BookInfoEdit(selectedBookGuid);

            if (frm_BookInfoAlter.ShowDialog() == DialogResult.OK)
            {
                ShowDataToDataGridView();
            }
        }