private void searchBookToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); var bookSearchForm = new BookSearchForm(); bookSearchForm.Show(); }
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(); } }
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; } }
private void BookIssueForm_FormClosed(object sender, FormClosedEventArgs e) { var objBookSearchForm = new BookSearchForm(); objBookSearchForm.Show(); }