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

            view.uc = this;
            base.addUserControl(view, "维修套餐设置-预览", "UCRepairMealView" + strMId, this.Tag.ToString(), this.Name);
        }
Esempio n. 2
0
        void UCRepairMealAddOrEdit_ViewEvent(object sender, EventArgs e)
        {
            UCRepairMealView view = new UCRepairMealView(strId);

            base.addUserControl(view, "维修套餐设置-预览", "UCRepairMealView" + strId, 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;
         }
     }
     UCRepairMealView view = new UCRepairMealView(strMId);
     view.uc = this;
     base.addUserControl(view, "维修套餐设置-预览", "UCRepairMealView" + strMId, this.Tag.ToString(), this.Name);
 }
 void UCRepairMealAddOrEdit_ViewEvent(object sender, EventArgs e)
 {
     UCRepairMealView view = new UCRepairMealView(strId);           
     base.addUserControl(view, "维修套餐设置-预览", "UCRepairMealView" + strId, this.Tag.ToString(), this.Name);
 }