コード例 #1
0
 public ApplicantMainForm(DataService service, Applicant applicant)
 {
     this.service   = service;
     this.applicant = applicant;
     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.resumes   = resRepos.ResumesByLogin(this.applicant.Login);
     this.vacancies = vacRepos.ShownVacancies();
     this.requests  = reqRepos.RequestByApplicant(this.resRepos, this.applicant.Login);
     InitializeComponent();
 }
コード例 #2
0
 private void UpdateVacanciesButton_Click(object sender, EventArgs e)
 {
     this.vacancies = vacRepos.ShownVacancies();
     this.FullfillVacanciesTable();
 }