/// <summary>
 ///  打开产品资料查询窗体.
 /// </summary>
 /// <returns></returns>
 public static DataRow Execute(IFuzzySearchSupportable BLL)
 {
     frmFuzzySearch form = new frmFuzzySearch();
     form._BLL = BLL;
     form.ShowDialog();
     return form._ReturnRow;
 }
        /// <summary>
        ///  打开产品资料查询窗体.
        /// </summary>
        /// <returns></returns>
        public static DataRow Execute(IFuzzySearchSupportable BLL)
        {
            frmFuzzySearch form = new frmFuzzySearch();

            form._BLL = BLL;
            form.ShowDialog();
            return(form._ReturnRow);
        }
 /// <summary>
 /// 打开查询窗体
 /// </summary>
 /// <param name="Sender">事件发起人</param>
 /// <param name="callBack">回调函数,当选择一个条记录后关闭窗体时调用</param>
 public static void Execute(ButtonEdit Sender, IFuzzySearchSupportable BLL, SearchCallBack callBack)
 {
     frmFuzzySearch form = new frmFuzzySearch();
     form._BLL = BLL;
     form.txtValue.Text = Sender.Text;
     form.DoQuery(form.txtValue.Text);
     form.ShowDialog();
     if (callBack != null) callBack(form._ReturnRow);
 }
        /// <summary>
        /// 打开查询窗体
        /// </summary>
        /// <param name="Sender">事件发起人</param>
        /// <param name="callBack">回调函数,当选择一个条记录后关闭窗体时调用</param>
        public static void Execute(ButtonEdit Sender, IFuzzySearchSupportable BLL, SearchCallBack callBack)
        {
            frmFuzzySearch form = new frmFuzzySearch();

            form._BLL          = BLL;
            form.txtValue.Text = Sender.Text;
            form.DoQuery(form.txtValue.Text);
            form.ShowDialog();
            if (callBack != null)
            {
                callBack(form._ReturnRow);
            }
        }