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