public Boolean execute(Dictionary <string, String> pv)
            {
                IntPtr wnd_ptr = Win32Locator.locateWindow(wnd_str, Win32Locator.dotNet_Wnd_Postfix);

                if (wnd_ptr == IntPtr.Zero)
                {
                    return(false);
                }
                String value = con;

                if (value == null && mField != null)
                {
                    value = ScriptExecuter.GetFieldValue(mField);
                }
                if (value != null)
                {
                    Trace.WriteLineIf(ScriptExecuter.debug_level > TraceLevel.Info, "Send Message " + value);
                    if (Win32Locator.SendWndMessage(wnd_ptr, value))
                    {
                        return(true);
                    }
                    Last_Error = "发送消息失败";
                    Trace.WriteLine(Last_Error);
                    return(false);
                }
                else
                {
                    Last_Error = ("不能找到指定的字段 " + mField);
                    Trace.WriteLine(Last_Error);
                }
                return(false);
            }
            public Boolean execute(Dictionary <string, String> pv)
            {
                IntPtr wnd = Win32Locator.locateWindow(mTitle, null);

                if (Win32Locator.SetForeGWindow(wnd))
                {
                    return(true);
                }
                Last_Error = "激活窗口失败,请检查税控窗口是否打开";
                Trace.WriteLine(Last_Error);
                return(false);
            }