private void BtnCommentsDT_Click(object sender, RoutedEventArgs e) { CommentsDTViewModel view = new CommentsDTViewModel(); PopUpControll pop = new PopUpControll("Komentarze", 800, 600, view); pop.PopUpShow(); }
private void BtnRecipes_Click(object sender, RoutedEventArgs e) { RecipesViewModel view = new RecipesViewModel(); PopUpControll pop = new PopUpControll("Receptury", 800, 200, view); pop.PopUpShow(); }