void UCRepairRescueManager_AddEvent(object sender, EventArgs e)
 {
     UCRepairRescueAddOrEdit RescueAdd = new UCRepairRescueAddOrEdit();
     RescueAdd.uc = this;
     RescueAdd.wStatus = WindowStatus.Add;
     base.addUserControl(RescueAdd, "救援单-新增", "RescueAdd", this.Tag.ToString(), this.Name);
 }
 void UCRepairRescueManager_CopyEvent(object sender, EventArgs e)
 {
     //if (!IsCheck("复制"))
     //{
     //    return;
     //}
     if (dgvRData.CurrentRow == null || dgvRData.CurrentRow.Index < 0)
     {
         return;
     }
     int intIndex = dgvRData.CurrentRow.Index;
     strReId = CommonCtrl.IsNullToString(dgvRData.Rows[intIndex].Cells["rescue_id"].Value);
     UCRepairRescueAddOrEdit RescueCopy = new UCRepairRescueAddOrEdit();
     RescueCopy.uc = this;
     RescueCopy.wStatus = WindowStatus.Copy;
     RescueCopy.strId = strReId;  //复制单据的Id值
     base.addUserControl(RescueCopy, "救援单-复制", "RescueCopy" + RescueCopy.strId, this.Tag.ToString(), this.Name);
 }
 void UCRepairRescueView_CopyEvent(object sender, EventArgs e)
 {
     UCRepairRescueAddOrEdit RescueCopy = new UCRepairRescueAddOrEdit();
     RescueCopy.wStatus = WindowStatus.Copy;
     RescueCopy.uc = uc;
     RescueCopy.strId = strRescueId;  //编辑单据的Id值
     base.addUserControl(RescueCopy, "救援单-复制", "RescueCopy" + RescueCopy.strId, this.Tag.ToString(), this.Name);
     deleteMenuByTag(this.Tag.ToString(), "UCRepairRescueView");
 }
 void UCRepairRescueView_EditEvent(object sender, EventArgs e)
 {
     UCRepairRescueAddOrEdit RescueEdit = new UCRepairRescueAddOrEdit();
     RescueEdit.wStatus = WindowStatus.Edit;
     RescueEdit.uc = uc;
     RescueEdit.strId = strRescueId;  //编辑单据的Id值
     base.addUserControl(RescueEdit, "救援单-编辑", "RescueEdit" + RescueEdit.strId, this.Tag.ToString(), this.Name);
     deleteMenuByTag(this.Tag.ToString(), "UCRepairRescueView");
 }
 void UCRepairRescueView_AddEvent(object sender, EventArgs e)
 {
     UCRepairRescueAddOrEdit RescueAdd = new UCRepairRescueAddOrEdit();
     RescueAdd.wStatus = WindowStatus.Add;
     RescueAdd.uc = uc;
     base.addUserControl(RescueAdd, "救援单-新增", "RescueAdd" + RescueAdd.strId, this.Tag.ToString(), this.Name);
     deleteMenuByTag(this.Tag.ToString(), "UCRepairRescueView");
 }