public OperatingSystem(IHardDriveReadable algorithm) { processes = new List <Process>(); this.algorithm = algorithm; }
private void rbtnFCFS_CheckedChanged(object sender, EventArgs e) { algorithm = new FCFS(); os = new OperatingSystem(algorithm); GenerateSampleRequests(); }