//public MaterialViewModel MatViewModel;
        //public MaterialControl()
        //{
        //    InitializeComponent();
        //    MatViewModel = DataContext as MaterialViewModel;
        //    MatViewModel.Name = "ff";
        //}


        //public UTCSViewModel MatViewModel;
        public MaterialControl(ref UTCSViewModel vm)
        {
            InitializeComponent();
            DataContext = vm;
        }
 public SectionControl(ref UTCSViewModel vm)
 {
     InitializeComponent();
     DataContext = vm;
 }