public void UpdateInterface(SystemModel model)
 {
     if (Ram != model.Ram)
         lblRam.Text = model.Ram.ToString("N");
     if (Disk != model.Disk)
         lblDisk.Text = model.Disk.ToString("N");
     if(CpuSpeed!=model.CpuSpeed)
         lblcpuspeed.Text=model.CpuSpeed.ToString("N");
 }
 public void InitializedView(SystemModel model)
 {
     lblRam.Text = model.Ram.ToString("N");
     lblDisk.Text = model.Disk.ToString("N");
     lblcpuspeed.Text = model.CpuSpeed.ToString("N");
 }
 public void Update(SystemModel model)
 {
     UpdateInterface(model);
 }
 public SystemController(SystemModel model, SystemView view)
 {
     _model = model;
     _view = view;
 }