private void sensorAddressToolStripMenuItem_Click(object sender, EventArgs e) { Tools.TextInput nf = new Tools.TextInput(sensorAddress); // nf.Show(); nf.ShowDialog(); sensorAddress = nf.InputtedText; }
private void numberOfPactketsPerFileToolStripMenuItem_Click(object sender, EventArgs e) { Tools.TextInput nf = new Tools.TextInput(maxFilePackets.ToString()); // nf.Show(); nf.ShowDialog(); Int32.TryParse(nf.InputtedText, out maxFilePackets); }