예제 #1
0
        /// <summary>
        /// 预览数据
        /// </summary>
        /// <param name="strType">操作类型,0为预览,1为双击单元格</param>
        private void ViewData(string strType = "0")
        {
            if (strType == "0")
            {
                if (!IsCheck("预览"))
                {
                    return;
                }
            }
            UCRepairRescueView view = new UCRepairRescueView(strReId);

            view.uc = this;
            base.addUserControl(view, "救援单-预览", "view" + strReId, this.Tag.ToString(), this.Name);
        }
 /// <summary>
 /// 预览数据
 /// </summary>
 /// <param name="strType">操作类型,0为预览,1为双击单元格</param>
 private void ViewData(string strType = "0")
 {
     if (strType == "0")
     {
         if (!IsCheck("预览"))
         {
             return;
         }
     }
     UCRepairRescueView view = new UCRepairRescueView(strReId);
     view.uc = this;
     base.addUserControl(view, "救援单-预览", "view" + strReId, this.Tag.ToString(), this.Name);
 }