private void button3_Click(object sender, EventArgs e) { this.Hide(); var x = new BooksForm(); x.Show(); }
public BooksController(BooksForm booksForm, StorageContext context) { _booksForm = booksForm; _booksForm.Load += LoadHandler; _booksForm.AddData += AddDataHandler; _booksForm.ChangeData += ChangeDataHandler; _booksForm.DeleteData += DeleteDataHandler; _booksForm.RefreshData += RefreshDataHandler; _context = context; }
private void BooksManagementToolStripMenuItem_Click(object sender, EventArgs e) { var booksForm = new BooksForm(); booksForm.Show(); }