private void button2_Click(object sender, EventArgs e) { string str = this.textBox1.Text; StartProcess?.Invoke(this, new SendProctssNameEvent(str)); }