private void btn12e_Click(object sender, EventArgs e) { (sender as Button).BackColor = Color.Chartreuse; PassengerInfo form2 = new PassengerInfo("" + txtAnotherDest.Text); passAntText = txtAnotherDest.Text; form2.TextBoxValue = "12E"; form2.Show(); }
private void btn2f_Click(object sender, EventArgs e) { (sender as Button).BackColor = Color.Chartreuse; PassengerInfo form2 = new PassengerInfo("" + txtDestMap.Text); passText = txtDestMap.Text; form2.TextBoxValue = "02F"; form2.Show(); }