Exemple #1
0
 public Frm迭代(String projectPlanId, Frm目录 frm)
 {
     InitializeComponent();
     this.Time();
     this.projectPlanId = projectPlanId;
     this.form2         = frm;
 }
Exemple #2
0
 /// <summary>
 /// 修改
 /// </summary>
 /// <param name="id"></param>
 public Frm修改(Frm目录 frmbiao, String id)
 {
     this.initComponent(frmbiao);
     this.planId = id;
     this.initedit();
     this.isModified = true;
     this.empDtos    = EmpService.findAll();
 }
Exemple #3
0
        private List <EmpDto> empDtos = new List <EmpDto>();  //  员工列表

        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="frmbiao"></param>
        public Frm修改(Frm目录 frmbiao)
        {
            this.initComponent(frmbiao);
            this.isModified = false;
            this.empDtos    = EmpService.findAll();
            for (int i = 0; i < this.empDtos.Count; i++)
            {
                this.combo负责人.Properties.Items.Add(empDtos[i].Name.ToString()); //  TODO
            }
        }
Exemple #4
0
 public Frm预览(Frm目录 frm)
 {
     this.form = frm;
     InitializeComponent();
     PlanService.GetPreviewDTO(frm.tipsid);
     //this.label1.Text= previewDTO.Plan_name;
     //this.label2.Text = previewDTO.Name;
     //this.label3.Text = previewDTO.Department;
     //this.label4.Text = previewDTO.Post;
     //this.shenpijindu.Text= previewDTO.Approval_progress_ch;
 }
 /// <summary>
 /// 废弃
 /// </summary>
 /// <param name="frm"></param>
 public Frm新建申报(Frm目录 frm)
 {
     InitializeComponent();
     this.form    = frm;
     this.empDtos = EmpService.findAll();
     for (int i = 0; i < this.empDtos.Count; i++)
     {
         this.combo负责人.Properties.Items.Add(empDtos[i].Name.ToString()); //  TODO
         this.combo参与者.Properties.Items.Add(empDtos[i].Name.ToString()); //  TODO
     }
 }
Exemple #6
0
 public void initComponent(Frm目录 frmbiao)
 {
     InitializeComponent();
     this.frmbiao = frmbiao;
     this.empDtos = EmpService.findAll();
 }
Exemple #7
0
 public Frm计划一览(Frm目录 frmbiao)
 {
     InitializeComponent();
     this.frmbiao = frmbiao;
 }