private void readersButton_Click(object sender, RoutedEventArgs e) { var readersWindow = new ReadersWindow(unitOfWork); readersWindow.ShowDialog(); }
private void readersToolStripMenuItem_Click(object sender, EventArgs e) { Form readersForm = new ReadersWindow(); readersForm.Show(); }