Beispiel #1
0
        void OnCmbChangeCommand(object parameters)
        {
            var      thisUser   = DialogLogginViewModel.Users[0];
            var      values     = (object[])parameters;
            ComboBox Cmb_Module = values[0] as ComboBox;
            ComboBox Cmb_Year   = values[1] as ComboBox;

            GetModule    = ((ComboBoxItem)Cmb_Module.SelectedItem).Content.ToString();
            GetYear      = ((ComboBoxItem)Cmb_Year.SelectedItem).Content.ToString();
            AcademicList = new ObservableCollection <object>(ST.GetAcademicByID(thisUser.ID, GetModule, GetYear).ToList());
        }