public DodavanjeLekaWindow(LekoviWindow parent)
        {
            InitializeComponent();
            this._parent = parent;

            Sastojci.ItemsSource = _medicineIngredientsController.GetAllIngredients();
            SastojciList.Items.Clear();
        }
Exemplo n.º 2
0
        public IzmenaLekaWindow(Medicine med, LekoviWindow parent)
        {
            InitializeComponent();
            this._parent  = parent;
            _medForUpdate = med;

            List <Ingredient> ingredients = _medicineIngredientsController.GetAllIngredients();

            Sastojci.ItemsSource = ingredients;
            CollectSelectedMedicineData();
        }