Beispiel #1
0
        private void CreateOnClick(object sender, RoutedEventArgs e)
        {
            CreationWindow popup = new CreationWindow(businessLogic);

            popup.ShowDialog();
            popup.Closing += PopupClosed;
        }
Beispiel #2
0
        private void UpdateOnClick(object sender, RoutedEventArgs e)
        {
            var item = (InputModel)DataTable.SelectedItem;

            if (item != null)
            {
                CreationWindow popup = new CreationWindow(businessLogic, (InputModel)DataTable.SelectedItem);
                popup.ShowDialog();
                popup.Closing += PopupClosed;
            }
        }