public EnigmaBreakerForm(EnigmaForm parent) { InitializeComponent(); this.parent = parent; rotorCountCB.SelectedIndex = 0; //reflectorCB.SelectedIndex = 1; }
private void enigmaButton_Click(object sender, EventArgs e) { EnigmaForm form = new EnigmaForm(); form.ShowDialog(); form.Dispose(); }