Exemplo n.º 1
0
        private void menuRemoveDuplicateServer_Click(object sender, EventArgs e)
        {
            int oldCount = lstVmess.Count;
            int newCount = ConfigHandler.DedupServerList(ref config, ref lstVmess);

            RefreshServers();
            _ = LoadV2ray();
            UI.Show(string.Format(ResUI.RemoveDuplicateServerResult, oldCount, newCount));
        }
Exemplo n.º 2
0
        private void menuRemoveDuplicateServer_Click(object sender, EventArgs e)
        {
            int oldCount = config.vmess.Count;

            ConfigHandler.DedupServerList(ref config);
            int newCount = config.vmess.Count;

            RefreshServers();
            LoadV2ray();
            UI.Show(string.Format(UIRes.I18N("RemoveDuplicateServerResult"), oldCount, newCount));
        }