Beispiel #1
0
        private void serverConnectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmServerConnectionConfig frm = new frmServerConnectionConfig();

            frm.InitForm(ClientSettings.serverHostname);
            if (frm.ShowDialog() == DialogResult.OK)
            {
                frm.GetConfig(ref ClientSettings.serverHostname);
                ClientSettings.Save();
            }
        }
Beispiel #2
0
 private void serverConnectionToolStripMenuItem_Click(object sender, EventArgs e)
 {
   frmServerConnectionConfig frm = new frmServerConnectionConfig();
   frm.InitForm(ClientSettings.serverHostname);
   if (frm.ShowDialog() == DialogResult.OK)
   {
     frm.GetConfig(ref ClientSettings.serverHostname);
     ClientSettings.Save();
   }
 }