private void button1_Click(object sender, EventArgs e) { this.Close(); HttpConfig config = new HttpConfig(); config.Check = radioButton2.Checked; textBox1.Enabled = config.Check; if (config.Check) { config.RegStr = textBox1.Text; } config.TimerEnable = checkBox1.Checked; config.ThreadNum = Convert.ToInt32(textBox2.Text); config.ProxyEnable = checkBox2.Checked; if (config.ProxyEnable) { config.ProxyAPI = textBox3.Text; } ConfigFinish.Invoke(config); }
private void ConfigFinishFunc(HttpConfig config) { throw new NotImplementedException(); }