Ejemplo n.º 1
0
        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();
            }
        }
Ejemplo n.º 2
0
 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();
   }
 }