示例#1
0
        private void buttonMore_Click(object sender, EventArgs e)
        {
            searchBookInfo search = new searchBookInfo();

            this.Hide();
            search.ShowDialog();
            this.Show();
        }
示例#2
0
        private void uiImageButton1_Click(object sender, EventArgs e)
        {
            string BookName = uiDataGridView1.SelectedRows[0].Cells[1].Value.ToString();

            if (BookName != null)
            {
                searchBookInfo search = new searchBookInfo(BookName);
                this.Hide();
                search.ShowDialog();
                this.Show();
            }

            else
            {
                searchBookInfo search = new searchBookInfo();
                this.Hide();
                search.ShowDialog();
                this.Show();
            }
        }