private void CreateNewBook_Click(object sender, RoutedEventArgs e) { ClassBog cBOG = new ClassBog(); UCAddBook UCAB = new UCAddBook(UCGUIGrid, cBOG, _CB); ((Grid)Parent).Children.Add(UCAB); }
private void EditBook_Click(object sender, RoutedEventArgs e) { UCAddBook UCAB = new UCAddBook(UCGUIGrid); ((Grid)Parent).Children.Add(UCAB); }