Can I invoke another form 's task : <p>in form1 ,  there are two functions ,  one for a button 's click event </p>

<pre><code>    private void bQuery_Click(object sender, EventArgs e)
    {
        string sPrefix = tbPrefix.Text.Trim();
        QueryAll(sPrefix);
    }
</code></pre>

<p>another one is a task </p>

<pre><code>    async Task QueryAll(string sPrefix)
    {
    }
</code></pre>

<p>now I  need invoke form1 's task in form2 certain function ,  such as </p>

<pre><code>            string prefix = "abc";

            frm = new form1();
            frm.ShowDialog();
            frm.Dispose();
            frm.QueryAll(sPrefix);
</code></pre>

<p>I  know this statement </p>

<pre><code>frm.QueryAll(sPrefix);
</code></pre>

<p>can not compile , just to show what I want to do ,  anyone knows how to call this task "QueryAll" ? thanks for your help </p>
