예제 #1
0
        private void AddAuthor_Click(object sender, RoutedEventArgs e)
        {
            var addAuthorWindow = new AddAuthorWindow();

            addAuthorWindow.AuthorAdded += (_, e) => Authors.Add(e.Entity);
            addAuthorWindow.Show();
        }
예제 #2
0
파일: Cmd.cs 프로젝트: Nixonx/PKCKbookShop
 public static void OpenAuthorWindow()
 {
     AddAuthorWindow win = new AddAuthorWindow();
     win.Show();
 }