Example #1
0
        private void edit_server_button_Click(object sender, EventArgs e)
        {
            server_list.SelectedIndexChanged -= server_changed;
            server_config edit_server = new server_config(m_parent, this, server_list.SelectedItem.ToString(), false);

            edit_server.ShowDialog();
            server_list.SelectedIndexChanged += server_changed;
        }
Example #2
0
        private void add_server_button_Click(object sender, EventArgs e)
        {
            server_list.SelectedIndexChanged -= server_changed;
            server_config add_server = new server_config(m_parent, this, null, true);

            add_server.ShowDialog();
            server_list.SelectedIndexChanged += server_changed;
        }