예제 #1
0
        public void Init(Salon s)
        {
            viewModel   = new AdministracijaNamestajaViewModel(s);
            DataContext = viewModel;

            if (Mode == 1)
            {
                tbNaziv.IsReadOnly = true;
            }
        }
예제 #2
0
 public void Init(Salon s)
 {
     viewModel   = new AdministracijaNamestajaViewModel(s);
     DataContext = viewModel;
 }