Exemple #1
0
        void UCRepairMealView_EditEvent(object sender, EventArgs e)
        {
            UCRepairMealAddOrEdit Edit   = new UCRepairMealAddOrEdit();
            UCRepairMealManage    manage = new UCRepairMealManage();

            Edit.uc      = manage;
            Edit.wStatus = WindowStatus.Edit;
            Edit.strId   = strMId; //编辑维修套餐的Id值
            base.addUserControl(Edit, "维修套餐设置-编辑", "Edit" + Edit.strId, this.Tag.ToString(), this.Name);
            deleteMenuByTag(this.Tag.ToString(), "UCRepairMealView");
        }
 void UCRepairMealView_EditEvent(object sender, EventArgs e)
 {
     UCRepairMealAddOrEdit Edit = new UCRepairMealAddOrEdit();
     UCRepairMealManage manage = new UCRepairMealManage();
     Edit.uc = manage;
     Edit.wStatus = WindowStatus.Edit;
     Edit.strId = strMId;  //编辑维修套餐的Id值
     base.addUserControl(Edit, "维修套餐设置-编辑", "Edit" + Edit.strId, this.Tag.ToString(), this.Name);
     deleteMenuByTag(this.Tag.ToString(), "UCRepairMealView");
 }