Exemplo n.º 1
0
 private void picWxyy_Click(object sender, EventArgs e)
 {
     ReserveOrder uc = new ReserveOrder();           
     //dr["fun_id"].ToString() + "|" + dr["firstid"].ToString() + "|" + dr["parent_id"].ToString();//三级 |一级| 二级 菜单的id
     string tag = "CL_RepairBusiness_Reserve_ReserveOrder|CL_SystemManagement|CL_SystemManagement_BulletinManagement";
     UCBase.AddUserControl(uc, "预约单", "CL_RepairBusiness_Reserve_ReserveOrder", tag, "");
 }
Exemplo n.º 2
0
 /// <summary>
 /// 预览数据
 /// </summary>
 /// <param name="strType">操作类型,0为预览,1为双击单元格</param>
 private void ViewData(string strType = "0")
 {
     if (strType == "0")
     {
         if (!IsCheck("预览"))
         {
             return;
         }
     }
     ReserveOrderView view = new ReserveOrderView(strReId);
     ReserveOrder rorder = new ReserveOrder();
     view.uc = rorder;
     base.addUserControl(view, "维修预约单-预览", "ReserveOrderView" + strReId, this.Tag.ToString(), this.Name);
 }