Exemplo n.º 1
0
        public EditFormUI(formular formular)
        {
            InitializeComponent();
            formularService = new FormularService();

            this.formular = formular;
            Formular      = this.formular;
            DataContext   = this;

            rezultatComboBox.ItemsSource = Enum.GetValues(typeof(Formular_Status)).Cast <Formular_Status>();

            SetValuexBoxesForm();
        }
Exemplo n.º 2
0
 public void UpdateFormular()
 {
     formular.StareFormular = (Formular_Status)rezultatComboBox.SelectedItem;
     Formular = formular;
 }