如:
<script>function aa(){.....}</script><input type='button' click='aa()'/>可以写成<input type='button' click='function(){.....}'/>那么
private delegate void delegateMy();
private void aaa()
{
    if (labelAccount.InvokeRequired)
    {
      delegateMy demy = new delegateMy(aaa);
      Invoke(demy);
    }
    else
    {
        labelAccount.Text = "拉取帐号失败,请重试...";
    }
}函数A{... aaa();} //调用aaa方法
那么我怎么可不可以写成  
函数A{...  Invoke(new delegateMy(private void a(){labelAccount.Text = "拉取帐号失败,请重试..."}));}
如何写成想JS那样的?