コード例 #1
0
        private void searchBookToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            var bookSearchForm = new BookSearchForm();

            bookSearchForm.Show();
        }
コード例 #2
0
 private void BookIssueDetailsForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (lFormDefineLabel.Text == @"home")
     {
         var objHomeForm = new HomeForm();
         this.Hide();
         objHomeForm.Show();
     }
     else
     {
         var objBookSearchForm = new BookSearchForm();
         this.Hide();
         objBookSearchForm.Show();
     }
 }
コード例 #3
0
        private void BookAddForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            switch (FormDefineLabel.Text)
            {
            case "home":
            {
                var objHomeForm = new HomeForm();
                this.Hide();
                objHomeForm.Show();
                //  this.Close();
            }
            break;

            default:
            {
                var objBookSearchForm = new BookSearchForm();
                this.Hide();
                objBookSearchForm.Show();
                //  this.Close();
            }
            break;
            }
        }
コード例 #4
0
        private void BookIssueForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            var objBookSearchForm = new BookSearchForm();

            objBookSearchForm.Show();
        }