Пример #1
0
        private async void ParseAll(object sender, EventArgs args)
        {
            Application.Invoke(delegate {
                buttonParseAll.Sensitive = false;
            });

            proxylistAll.AddRange(await ProxyParser.ParseAllAsync());

            Application.Invoke(delegate {
                labelTotal.Text       = proxylistAll.Count.ToString();
                textInput.Buffer.Text = proxylistAll.ToString();

                buttonParseAll.Sensitive = true;
            });
        }
Пример #2
0
 private void InsertGoodProxies(object sender, EventArgs args)
 {
     textInput.Buffer.Text = proxylistGood.ToString();
 }