Example #1
0
        private void CreateNewBook_Click(object sender, RoutedEventArgs e)
        {
            ClassBog  cBOG = new ClassBog();
            UCAddBook UCAB = new UCAddBook(UCGUIGrid, cBOG, _CB);

            ((Grid)Parent).Children.Add(UCAB);
        }
Example #2
0
        private void EditBook_Click(object sender, RoutedEventArgs e)
        {
            UCAddBook UCAB = new UCAddBook(UCGUIGrid);

            ((Grid)Parent).Children.Add(UCAB);
        }