Exemple #1
0
 public ClientVM(int id, SotrudnicWindowVM window, Bank bank)
 {
     ID          = id;
     this.bank   = bank;
     this.window = window;
     clients     = new ObservableCollection <Client>(bank.Client);
 }
Exemple #2
0
 public OperaciiVM(int id, SotrudnicWindowVM window, Bank bank)
 {
     ID          = id;
     this.bank   = bank;
     this.window = window;
     operaciis   = new ObservableCollection <Operacii>(bank.Operacii);
 }
 public Rassmotreniy_kreditVM(int id, Operacii operacii, Bank bank, SotrudnicWindowVM windowVM)
 {
     this.operacii = operacii;
     this.bank     = bank;
     this.windowVM = windowVM;
     ID            = id;
 }
Exemple #4
0
 public ProgramVM(int id, SotrudnicWindowVM window, Bank bank)
 {
     ID          = id;
     this.bank   = bank;
     this.window = window;
     progs       = new ObservableCollection <Prog>(bank.Prog.Where(i => i.TipID == bank.Tip.Where(j => j.Name == "Вклад").FirstOrDefault().ID));
 }
Exemple #5
0
 public NewClientVM(int id, SotrudnicWindowVM windowVM, Bank bank, Client client)
 {
     add           = false;
     ID            = id;
     this.windowVM = windowVM;
     this.bank     = bank;
     this.client   = client;
 }
Exemple #6
0
 public NewClientVM(int id, SotrudnicWindowVM windowVM, Bank bank)
 {
     add           = true;
     ID            = id;
     this.windowVM = windowVM;
     this.bank     = bank;
     client        = new Client();
 }
 public Operacii_na_potvVM(int id, SotrudnicWindowVM window, Bank bank, Operacii_na_potvV page)
 {
     ID          = id;
     this.bank   = bank;
     this.window = window;
     operaciis   = new ObservableCollection <Operacii>(bank.Operacii.Where(i => i.Status.Name == "Ожидает выполнения"));
     Page        = page;
 }
Exemple #8
0
 public New_ProgVM(int id, SotrudnicWindowVM windowVM, Bank bank, Prog prog)
 {
     add           = false;
     ID            = id;
     this.windowVM = windowVM;
     this.bank     = bank;
     this.prog     = prog;
 }
Exemple #9
0
 public New_ProgVM(int id, SotrudnicWindowVM windowVM, Bank bank)
 {
     add           = true;
     ID            = id;
     this.windowVM = windowVM;
     this.bank     = bank;
     prog          = new Prog();
     prog.ID       = 1;
 }
Exemple #10
0
 public ProgramV(int id, SotrudnicWindowVM windowVM, Bank bank)
 {
     InitializeComponent();
     programVM   = new ProgramVM(id, windowVM, bank);
     DataContext = programVM;
 }
Exemple #11
0
 public ClientV(int id, SotrudnicWindowVM windowVM, Bank bank)
 {
     InitializeComponent();
     clientVM    = new ClientVM(id, windowVM, bank);
     DataContext = clientVM;
 }
Exemple #12
0
 public Rassmotreniy_kreditV(int id, Operacii operacii, Bank bank, SotrudnicWindowVM window)
 {
     InitializeComponent();
     DataContext = new Rassmotreniy_kreditVM(id, operacii, bank, window);
 }
Exemple #13
0
 public Operacii_na_potvV(int id, SotrudnicWindowVM window, Bank bank)
 {
     InitializeComponent();
     VM          = new Operacii_na_potvVM(id, window, bank, this);
     DataContext = VM;
 }
 public NewClientV(int ID, SotrudnicWindowVM windowVM, Bank bank, Client client)
 {
     InitializeComponent();
     DataContext = new NewClientVM(ID, windowVM, bank, client);
 }