Exemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        private void ButtonAddServer_Click(object sender, EventArgs e)
        {
            ServersConfig cnf = ServersConfig.GetInstance();
            string        n   = TextBoxServerName.Text;
            string        a   = TextBoxServerAddress.Text;
            string        l   = TextBoxServerLocation.Text;
            string        u   = TextBoxServerUser.Text;
            string        p   = TextBoxServerPass.Text;

            cnf.AddServerDetails(n, a, l, u, p, true);
            RefreshList();
            RefreshTextBoxes();
        }