Exemple #1
0
        private void Row_DoubleClick(object sender, MouseButtonEventArgs e)
        {
            PaymentsWindow w = new PaymentsWindow(LoggedUser, (Payment)(sender as DataGridRow).Item);

            w.ShowDialog();
            btnGet_Click(this, null);
        }
        private void btnPayments_Click(object sender, RoutedEventArgs e)
        {
            Visibility = Visibility.Hidden;
            PaymentsWindow w = new PaymentsWindow(LoggedUser);

            w.ShowDialog();
            Visibility = Visibility.Visible;
        }