private void menuFeedback_Click(object sender, EventArgs e) { FormFeedback frmVarMain = new FormFeedback(); frmVarMain.Show(); zipCode = textZipcode.Text; provider = textCarrier.Text; allowBrowsing = checkBoxBrowsing.Checked; TextWriter tw = new StreamWriter("characteristics"); tw.WriteLine(textZipcode.Text); tw.WriteLine(textCarrier.Text); tw.WriteLine(allowLocation.ToString()); tw.WriteLine(allowBrowsing.ToString()); tw.Close(); }