我正在尝试将消息传递到系统 G2,但出现错误,方法“PostMessage”没有重载需要 2 个参数。你能帮忙吗,谢谢
private void PostMsgBtn_Click(object sender, EventArgs e)
{
object[] C1_ob = new object[1];
C1_ob[0] = 1;
axG2Gateway1.PostMessage(MsgToPost.Text , ref (C1_ob));
}