private void GoToPreviousWindow()
        {
            var newWin = new CrmManagerView(SessionUserId);

            newWin.Show();
            this.Close();
        }
 public CustomerDetailsView(int id, CustomerModel customer, CrmManagerView view)
 {
     InitializeComponent();
     SessionUserId  = id;
     Customer       = customer;
     PreviousWindow = view;
 }
 public AddCustomerView(int id, CrmManagerView lastWindow)
 {
     InitializeComponent();
     ViewModel      = new AddCustomerViewModel();
     SessionUserId  = id;
     PreviousWindow = lastWindow;
 }
 public AddLineAndPackageView(int sessionUserId, int customerId, CrmManagerView window)
 {
     InitializeComponent();
     ViewModel       = new AddLineAndPackageViewModel();
     CustomerId      = customerId;
     SessionUserId   = sessionUserId;
     PreviouseWindow = window;
 }
Esempio n. 5
0
 public BillingSystemView(int sessionUserId)
 {
     InitializeComponent();
     ViewModel       = new BillingSystemViewModel();
     PreviouseWindow = new CrmManagerView(sessionUserId);
 }