如果axTws1_tickPrice
中的某些条件属实,我想致电btnSubmit
。我该怎么做呢?从C#中的另一个私人空白调用私人空白#
private void btnSubmit_Click(object sender, EventArgs e)
{
//code here
}
private void axTws1_tickPrice(object sender, AxTWSLib._DTwsEvents_tickPriceEvent e)
{
if (Condition)
{
Call butSubmit (how do i do this)
}
}
如果其中一个答案帮助你,你应该单击复选标记旁边将其标记为接受,而不是张贴“感谢“答案。 – Steve