private void combineUrl() { PatcherSetting p = comboBoxEx1.SelectedItem as PatcherSetting; if (p != null) { txtUrl.Text = p.Url; } }
private void integerInput2_ValueChanged(object sender, EventArgs e) { PatcherSetting p = comboBoxEx1.SelectedItem as PatcherSetting; if (p != null) { p.Version1 = integerInput2.Value; combineUrl(); } }
private void comboBoxEx1_SelectedIndexChanged(object sender, EventArgs e) { PatcherSetting p = comboBoxEx1.SelectedItem as PatcherSetting; if (p != null) { integerInput1.Value = p.Version0; integerInput2.Value = p.Version1; combineUrl(); } }