private void simpleButton1_Click(object sender, EventArgs e) { string code = textEdit1.Text; string info = textEdit2.Text; RemoteInfoHelper.SendInfo(code, info); }