call private void from another private void in C#

Viewed 9095

I would like to call btnSubmit if certain conditions in axTws1_tickPrice are true. How do i do this?

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)
    }
}
6 Answers
Related