Exemplo n.º 1
0
        private void tsbOptionSetting_Click(object sender, EventArgs e)
        {
            OptionSettingForm fm = new OptionSettingForm();

            if (fm.ShowDialog() == DialogResult.OK)
            {
                RefreshServers();
                LoadV2ray();
            }
        }
Exemplo n.º 2
0
        private void tsbOptionSetting_Click(object sender, EventArgs e)
        {
            OptionSettingForm fm = new OptionSettingForm();

            if (fm.ShowDialog() == DialogResult.OK)
            {
                //刷新
                RefreshServers();
                LoadV2ray();
                HttpProxyHandle.RestartHttpAgent(config, true);
            }
        }