void UCRepairMealView_AddEvent(object sender, EventArgs e)
 {
     UCRepairMealAddOrEdit Add = new UCRepairMealAddOrEdit();
     Add.wStatus = WindowStatus.Add;
     base.addUserControl(Add, "维修套餐设置-新增", "UCRepairMealAddOrEdit" + Add.strId, this.Tag.ToString(), this.Name);
     deleteMenuByTag(this.Tag.ToString(), "UCRepairMealView");
 }
Exemple #2
0
        void UCRepairMealManage_AddEvent(object sender, EventArgs e)
        {
            UCRepairMealAddOrEdit Add = new UCRepairMealAddOrEdit();

            Add.uc           = this;
            Add.windowStatus = WindowStatus.Add;
            base.addUserControl(Add, "维修套餐设置-新增", "UCRepairMealAddOrEdit", this.Tag.ToString(), this.Name);
        }
Exemple #3
0
        void UCRepairMealView_AddEvent(object sender, EventArgs e)
        {
            UCRepairMealAddOrEdit Add = new UCRepairMealAddOrEdit();

            Add.wStatus = WindowStatus.Add;
            base.addUserControl(Add, "维修套餐设置-新增", "UCRepairMealAddOrEdit" + Add.strId, this.Tag.ToString(), this.Name);
            deleteMenuByTag(this.Tag.ToString(), "UCRepairMealView");
        }
Exemple #4
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");
        }
Exemple #5
0
        void UCRepairMealManage_EditEvent(object sender, EventArgs e)
        {
            if (!IsCheck("编辑"))
            {
                return;
            }
            UCRepairMealAddOrEdit Edit = new UCRepairMealAddOrEdit();

            Edit.uc           = this;
            Edit.windowStatus = WindowStatus.Edit;
            Edit.strId        = strMId; //维修套餐设置ID
            base.addUserControl(Edit, "维修套餐设置-编辑", "UCRepairMealAddOrEdit" + Edit.strId, this.Tag.ToString(), this.Name);
        }
 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 UCRepairMealManage_AddEvent(object sender, EventArgs e)
 {
     UCRepairMealAddOrEdit Add = new UCRepairMealAddOrEdit();
     Add.uc = this;
     Add.windowStatus = WindowStatus.Add;
     base.addUserControl(Add, "维修套餐设置-新增", "UCRepairMealAddOrEdit", this.Tag.ToString(), this.Name);
 }
 void UCRepairMealManage_EditEvent(object sender, EventArgs e)
 {
     if (!IsCheck("编辑"))
     {
         return;
     }
     UCRepairMealAddOrEdit Edit = new UCRepairMealAddOrEdit();
     Edit.uc = this;
     Edit.windowStatus = WindowStatus.Edit;
     Edit.strId = strMId;  //维修套餐设置ID
     base.addUserControl(Edit, "维修套餐设置-编辑", "UCRepairMealAddOrEdit" + Edit.strId, this.Tag.ToString(), this.Name);
 }