Beispiel #1
0
        private void CanSession_Click(object sender, RoutedEventArgs e)
        {
            current_transaction.Status     = "Cancelled";
            current_transaction.Time_Close = System.DateTime.Now;
            Log_Table log = new Log_Table(current_transaction);

            log.Insert();
            Transaction_Table.Delete(current_transaction.Transaction_Id);

            this.Frame.Navigate(typeof(UserCancelFeedback));
        }
        private void CanSession_Click(object sender, RoutedEventArgs e)
        {
            App.transaction_table.Status     = "Cancelled";
            App.transaction_table.Time_Close = System.DateTime.Now;
            Log_Table log = new Log_Table(App.transaction_table);

            log.Insert();
            Transaction_Table.Delete(App.transaction_table.Transaction_Id);

            this.Frame.Navigate(typeof(VolunteerHome));
        }