private void btnSouthwest_Click(object sender, EventArgs e) { Properties["carrier"] = "2"; if (checkBox1.Checked) { Properties["skip"] = "true"; } Util.saveProperties(Properties); SouthWest sw = new SouthWest(); sw.Show(); this.Hide(); }
private void btnInitialOptimization_Click(object sender, EventArgs e) { carrier = Convert.ToInt16(Properties["carrier"]); if (carrier == 1) { Associated ass = new Associated(); ass.Show(); } else if (carrier == 2) { SouthWest sw = new SouthWest(); sw.Show(); } this.Hide(); }