Exemplo n.º 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);
        }
Exemplo n.º 2
0
        private void btnPayments_Click(object sender, RoutedEventArgs e)
        {
            Visibility = Visibility.Hidden;
            PaymentsWindow w = new PaymentsWindow(LoggedUser);

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