private void showinfo(object sender, EventArgs e)
        {
            frmInfoProject infoProject = new frmInfoProject(Project, this, _frmList);

            infoProject.Text = "Thông tin dự án";
            mainController.SetView(infoProject);
        }
        private void btnNewProject_Click(object sender, EventArgs e)
        {
            frmInfoProject add = new frmInfoProject(this);

            add.Text = "Thêm dự án";
            mainController.SetView(add);
        }
 public frmInfoTask(Task task, frmInfoProject frmInfoProject, urcTask urcTask)
 {
     InitializeComponent();
     _model          = 1;
     _frmInfoProject = frmInfoProject;
     _urcTask        = urcTask;
     Task            = task;
 }
Exemple #4
0
 public urcTask(Task task, frmInfoProject infoProject)
 {
     InitializeComponent();
     this.Click            += InfoTaskProject_Click;
     lblTaskName.Click     += InfoTaskProject_Click;
     _infoPorject           = infoProject;
     lblProjectName.Visible = false;
     Task = task;
 }