protected void ChangeDirCallback() { toPlot = GetProcessFromCreation(); if (toPlot.Count > 0) { SchedulerCombobox.Sensitive = true; quantumScale.Sensitive = true; plot.AnimateData(toPlot, false, "Entrada"); PlotAnim fcfsAnim = new PlotAnim(ThreFCFS, "FCFS"); fcfsAnim.StartAnim(); PlotAnim rrAnim = new PlotAnim(ThreRR, "RR"); rrAnim.StartAnim(); PlotAnim sjfAnim = new PlotAnim(ThreSJF, "SJF"); sjfAnim.StartAnim(); } }
protected void OnQuantumChange(object sender, EventArgs e) { PlotAnim rrAnim = new PlotAnim(ThreRR, "RR"); rrAnim.StartAnim(); }