//定义一个静态的窗体 
public class StForm
     {
         public static FrmWeb f1 = new FrmWeb();
         public static TxMeet fm = new TxMeet();
     }//其他类种调用
StForm.f1.webView21.CoreWebView2.ExecuteScriptAsync("clearMap();");