private void refresh_Click(object sender, EventArgs e) { EnigmaApp newOne = new EnigmaApp(); newOne.Show(); Close(); }
private void solutions_Click(object sender, EventArgs e) { if (solutions.SelectedIndex != -1) { DialogResult dialogResult = MessageBox.Show("Do you want to load solution in Enigma?", "Enigma App", MessageBoxButtons.YesNo); if (dialogResult == DialogResult.Yes) { EnigmaApp enigmaApp = new EnigmaApp(bombe.wheels, bombe.reflector, bombe.solutions[solutions.SelectedIndex].plugboardSets, bombe.solutions[solutions.SelectedIndex].rotorSets); enigmaApp.Show(); } } }
private void openEnigma_Click(object sender, EventArgs e) { enigma = new EnigmaApp(); enigma.Show(); }