示例#1
0
        private void btnSimpleSearch_Click(object sender, EventArgs e)
        {
            if (txbSimpleName.Text == "도서 검색")
            {
                return;
            }
            BookListForm bookListForm = new BookListForm(txbSimpleName.Text);

            ShowInTaskbar = false;
            Opacity       = 0;
            bookListForm.ShowDialog();
            ShowInTaskbar = true;
            Opacity       = 100;
        }
示例#2
0
        private void btnDetailSearch_Click(object sender, EventArgs e)
        {
            if (txbName.Text == "도서 검색" && txbAuthor.Text == "저자 검색" &&
                txbPublisher.Text == "출판사" && txbPublishedYear.Text == "출판 연도")
            {
                return;
            }

            BookListForm bookListForm = new BookListForm(txbName.Text == "도서 검색"?"":txbName.Text, txbPublisher.Text == "출판사"?null:txbPublisher.Text, txbAuthor.Text == "저자 검색" ? null : txbAuthor.Text, txbPublishedYear.Text == "출판 연도" ? null : txbPublishedYear.Text);

            ShowInTaskbar = false;
            Opacity       = 0;
            bookListForm.ShowDialog();
            ShowInTaskbar = true;
            Opacity       = 100;
        }