コード例 #1
0
 public EmployerMainForm(DataService service, Employer employer)
 {
     this.service   = service;
     this.employer  = employer;
     this.appRepos  = new ApplicantRepository(this.service);
     this.empRepos  = new EmployerRepository(this.service);
     this.vacRepos  = new VacancyRepository(this.service);
     this.resRepos  = new ResumeRepository(this.service);
     this.reqRepos  = new RequestRepository(this.service);
     this.vacancies = vacRepos.VacanciesByLogin(this.employer.Login);
     this.resumes   = resRepos.ShownResumes();
     this.requests  = reqRepos.RequestsByEmployer(vacRepos, this.employer.Login);
     InitializeComponent();
 }
コード例 #2
0
 private void UpdateResumesButton_Click(object sender, EventArgs e)
 {
     this.resumes = resRepos.ShownResumes();
     this.FullfillResumesTable();
 }