private void externalPlayerToolStripMenuItem_Click(object sender, EventArgs e) { frmExternalPlayerConfig frm = new frmExternalPlayerConfig(); frm.InitForm(ClientSettings.playerPath, ClientSettings.playerArgs, ClientSettings.useOverride, ClientSettings.overrideURL); if (frm.ShowDialog() == DialogResult.OK) { frm.GetConfig(ref ClientSettings.playerPath, ref ClientSettings.playerArgs, ref ClientSettings.useOverride, ref ClientSettings.overrideURL); ClientSettings.Save(); } }