/// <summary> /// Launches configuration of auto-update servers /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void configureServersButton_Click(object sender, EventArgs e) { using (MeGUI.core.gui.AutoUpdateServerConfigWindow w = new MeGUI.core.gui.AutoUpdateServerConfigWindow()) { w.ServerList = internalSettings.AutoUpdateServerLists; w.ServerListIndex = cbAutoUpdateServerSubList.SelectedIndex; if (w.ShowDialog() == DialogResult.OK) { internalSettings.AutoUpdateServerLists = w.ServerList; } } }
/// <summary> /// Launches configuration of auto-update servers /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void configureServersButton_Click(object sender, EventArgs e) { using (MeGUI.core.gui.AutoUpdateServerConfigWindow w = new MeGUI.core.gui.AutoUpdateServerConfigWindow()) { w.ServerList = internalSettings.AutoUpdateServerLists; w.ServerListIndex = internalSettings.AutoUpdateServerSubList; if (w.ShowDialog() == DialogResult.OK) { internalSettings.AutoUpdateServerLists = w.ServerList; internalSettings.AutoUpdateServerSubList = w.ServerListIndex; } } }