Ejemplo n.º 1
0
 public JobForm(Delegates.BackToSearch back, DataGridViewRow row)
 {
     InitializeComponent();
     this.Row          = row;
     this.BackToSearch = back;
     this.SetAll();
     this.lblMessagetoSignin.Visible = true;
     this.BackForm = "Search";
 }
Ejemplo n.º 2
0
 public JobForm(Delegates.BackToSearch back, DataGridViewRow row, string id)
 {
     InitializeComponent();
     this.Row          = row;
     this.BackToSearch = back;
     this.SetAll();
     this.pnlApply.Visible = true;
     this.BackForm         = "Search";
     this.JobSeekerId      = id;
 }
Ejemplo n.º 3
0
        private void DgvJob_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            Delegates.BackToSearch back = this.BackHere;
            DataGridViewRow        row  = this.dgvJob.CurrentRow;

            if (this.CurrentUser == "Guest")
            {
                new JobForm(back, row).Visible = true;
            }
            else if (this.CurrentUser == "JobSeeker")
            {
                new JobForm(back, row, this.JobseekerId).Visible = true;
            }
            this.Visible = false;
        }