Exemplo n.º 1
0
        public static void Show()
        {
            var vm = new TicketPurchaseViewModel();
            var v  = new TicketPurchaseView();

            v.DataContext  = vm;
            vm.CloseWindow = v.Close;

            v.Show();
        }
Exemplo n.º 2
0
 private void ticketPurchaseHandler(object param)
 {
     TicketPurchaseViewModel.Show();
 }