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; }); }
private void InsertGoodProxies(object sender, EventArgs args) { textInput.Buffer.Text = proxylistGood.ToString(); }