private void ParseInput(object sender, EventArgs args) { proxylistAll.AddRange(ProxyParser.ParseString(textInput.Buffer.Text)); Application.Invoke(delegate { labelTotal.Text = proxylistAll.Count.ToString(); }); }
private void WriteToFile(string filename) { ProxyParser.WriteFile(filename, ProxyParser.ParseString(textInput.Buffer.Text)); }