private void transmissionprob_Click(object sender, EventArgs e) { InputWindow iw = new InputWindow(); iw.start("Transmission Prob: "); iw.ShowDialog(); conf.transmissionProb = double.Parse(iw.campo); this.showConfData(); }
private void vaccine_Click(object sender, EventArgs e) { InputWindow iw = new InputWindow(); iw.start("How many Vaccineted:"); iw.ShowDialog(); int temp = int.Parse(iw.campo); this.fillRandXNum(temp, 5, 1); this.drawMatrix(); //pintamos en la matriz pictureBox1.Image = saveGraph; }
private void recovery_Click(object sender, EventArgs e) { InputWindow iw = new InputWindow(); iw.start("Recover period (tr):"); iw.ShowDialog(); conf.recoveriP = int.Parse(iw.campo); this.showConfData(); }
private void latent_Click(object sender, EventArgs e) { InputWindow iw = new InputWindow(); iw.start("Latent period (tl):"); iw.ShowDialog(); conf.latentP = int.Parse(iw.campo); this.showConfData(); }
//Botones que setean los parametros private void lambda_Click(object sender, EventArgs e) { InputWindow iw = new InputWindow(); iw.start("Contacts Rate: "); iw.ShowDialog(); conf.avgContacts = int.Parse(iw.campo); this.showConfData(); }
private void infectious_Click(object sender, EventArgs e) { InputWindow iw = new InputWindow(); iw.start("Inf period (ti):"); iw.ShowDialog(); conf.infectiousP = int.Parse(iw.campo); this.showConfData(); }
private void button2_Click_1(object sender, EventArgs e) { InputWindow iw = new InputWindow(); iw.start("Random Seed:"); iw.ShowDialog(); conf.seed = int.Parse(iw.campo); this.showConfData(); }