Exemplo n.º 1
0
 public Settings(MainLayout mainLayout)
 {
     InitializeComponent();
     DataContext       = this;
     this.mainLayout   = mainLayout;
     NavigationCommand = new RelayCommand(mainLayout.SetActiveControl);
 }
 public Project(MainLayout mainLayout)
 {
     InitializeComponent();
     DataContext  = this;
     ParentLayout = mainLayout;
     SetValues();
 }
Exemplo n.º 3
0
 public SiteManager(MainLayout mainLayout)
 {
     InitializeComponent();
     DataContext  = this;
     ParentLayout = mainLayout;
     SetValues();
 }
Exemplo n.º 4
0
 public TaskCategory(MainLayout mainLayout)
 {
     InitializeComponent();
     DataContext  = this;
     ParentLayout = mainLayout;
     SetValues();
 }
Exemplo n.º 5
0
 public SalesEnquiry(MainLayout mainLayout)
 {
     InitializeComponent();
     DataContext  = this;
     ParentLayout = mainLayout;
     SetValues();
 }
 public CustomerPaymentPopup(MainLayout parentLayout, CustomerModel customer)
 {
     InitializeComponent();
     DataContext  = this;
     ParentLayout = parentLayout;
     Customer     = customer;
     SetValues();
 }
 public SupplierBillPopup(MainLayout parentLayout, SupplierModel supplier)
 {
     InitializeComponent();
     DataContext  = this;
     ParentLayout = parentLayout;
     Supplier     = supplier;
     SetValues();
 }
 public ContractorPaymentPopup(MainLayout parentLayout, ContractorModel contractor)
 {
     InitializeComponent();
     DataContext  = this;
     ParentLayout = parentLayout;
     Contractor   = contractor;
     SetValues();
 }
Exemplo n.º 9
0
 private void SelectProject(object param)
 {
     try
     {
         MainLayout mainLayout = new MainLayout(SelectedProject);
         mainLayout.Show();
         this.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Error", ex.Message, MessageBoxButton.OK, MessageBoxImage.Error);
     }
 }