Ejemplo n.º 1
0
        void UCVehicleView_CopyEvent(object sender, EventArgs e)
        {
            UCVehicleAddOrEdit Copy   = new UCVehicleAddOrEdit();
            UCVehicleManage    manage = new UCVehicleManage();

            Copy.uc      = uc;
            Copy.wStatus = WindowStatus.Copy;
            Copy.strId   = strVId;
            base.addUserControl(Copy, "领料单-复制", "UCVehicleAddOrEdit" + Copy.strId, this.Tag.ToString(), this.Name);
            deleteMenuByTag(this.Tag.ToString(), "UCVehicleView");
        }
Ejemplo n.º 2
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     if (!MessageBoxEx.ShowQuestion("新增车辆档案会关闭当前页面,确认要新增吗?"))
     {
         return;
     }
     if (GlobalStaticObj.AppMainForm is HXCMainForm)
     {
         UCVehicleAddOrEdit Add = new UCVehicleAddOrEdit();
         UCVehicleManage manage = new UCVehicleManage();
         Add.uc = manage;
         Add.wStatus = WindowStatus.Add;
         string tag = "CL_DataManagement_BasicData_VehicleFiles|CL_DataManagement|CL_DataManagement_BasicData";
         ((HXCMainForm)GlobalStaticObj.AppMainForm).addUserControls(Add, "车辆档案-新增", "Add", tag, "");
     }
     this.Close();
 }
Ejemplo n.º 3
0
 void UCVehicleView_CopyEvent(object sender, EventArgs e)
 {
     UCVehicleAddOrEdit Copy = new UCVehicleAddOrEdit();
     UCVehicleManage manage = new UCVehicleManage();
     Copy.uc = uc;
     Copy.wStatus = WindowStatus.Copy;
     Copy.strId = strVId;
     base.addUserControl(Copy, "领料单-复制", "UCVehicleAddOrEdit" + Copy.strId, this.Tag.ToString(), this.Name);
     deleteMenuByTag(this.Tag.ToString(), "UCVehicleView");
 }