public BasicViewModel(MainWindowViewModel parent)
        {
            parent.DraftOpened += new MainWindowViewModel.NewDraftEventHandler(newComputerDraftUpdateProperties);

            cpu = parent.GetComputer.GetCpu;
            motherboard = parent.GetComputer.GetMotherboard;
        }
 public ComputerModel()
 {
     cpu = new CpuModel();
     motherboard = new MotherboardModel();
     rams = new ObservableCollection<RamModel>();
     gpus = new ObservableCollection<GpuModel>();
     ssds = new ObservableCollection<SsdModel>();
     hdds = new ObservableCollection<HddModel>();
     discDrives = new ObservableCollection<DiscDriveModel>();
     psu = new PsuModel();
     caseModel = new CaseModel();
     os = new OsModel();
 }