private void btnClearAll_OnClick(object sender, RoutedEventArgs e)
        {
            var cleared = new RR();

            cleared.Show();
            this.Close();
        }
Ejemplo n.º 2
0
 private void BtnGO_OnClick(object sender, RoutedEventArgs e)
 {
     if (cbiFCFS.IsSelected)
     {
         var fcfs = new Fcfs();
         fcfs.Tag = this;
         fcfs.Show();
     }
     else if (cbiPNP.IsSelected)
     {
         var pnp = new PNP();
         pnp.Tag = this;
         pnp.Show();
     }
     else if (cbiPP.IsSelected)
     {
         var pp = new PP();
         pp.Tag = this;
         pp.Show();
     }
     else if (cbiRR.IsSelected)
     {
         var rr = new RR();
         rr.Tag = this;
         rr.Show();
     }
     else if (cbiSJF.IsSelected)
     {
         var sjf = new SJF();
         sjf.Tag = this;
         sjf.Show();
     }
     else if (cbiSRTF.IsSelected)
     {
         var srtf = new SRTF();
         srtf.Tag = this;
         srtf.Show();
     }
 }