Example #1
0
        private void AddCard_OnClick(object sender, RoutedEventArgs e)
        {
            var cardWindow = new Hospital.Windows.Card();

            cardWindow.ShowDialog();
            UpdateCards();
        }
Example #2
0
        private void Modify_OnClick(object sender, RoutedEventArgs e)
        {
            var cardWindow = new Hospital.Windows.Card(UserCard, Windows.Card.WindowState.Modify);

            cardWindow.Show();
        }