public object NewTransaction(Store s)
        {
            var viewModel       = new TransactionViewModel(s, Configuration.Prefixes);
            var transactionView = new TransactionView {
                DataContext = viewModel
            };
            var tabItemViewModel = new TabItemViewModel(Strings.TransactionTabDefaultTitle, transactionView);

            tabItemViewModel.Toolbars.Add("StoreSelectorToolbar");
            tabItemViewModel.Toolbars.Add("TransactionToolbar");
            TabItems.Add(tabItemViewModel);
            Messenger.Default.Send(new SelectTabMessage(tabItemViewModel));
            return(null);
        }
 public object NewTransaction(Store s)
 {
     var viewModel = new TransactionViewModel(s, Configuration.Prefixes);
     var transactionView = new TransactionView{DataContext = viewModel};
     var tabItemViewModel = new TabItemViewModel(Strings.TransactionTabDefaultTitle, transactionView);
     tabItemViewModel.Toolbars.Add("StoreSelectorToolbar");
     tabItemViewModel.Toolbars.Add("TransactionToolbar");
     TabItems.Add(tabItemViewModel);
     Messenger.Default.Send(new SelectTabMessage(tabItemViewModel));
     return null;
 }