private void Sendbtn_Click(object sender, EventArgs e) { SirketCVPoct SirketPoct = new SirketCVPoct(); UserCV usrCV = new UserCV(); USERcvDB.usersCV.Remove(usrCV); usrCV.userName = lbl_cvName.Text; usrCV.UserSurname = lbl_cvSurname.Text; usrCV.UserEmail = lbl_cvEmail.Text; usrCV.UserEmekHaqqi = lbl_cvEmekHaqqi.Text; usrCV.userTeleb = lbl_cvBiliklerim.Text; USERcvDB.AddCV(usrCV); foreach (SirketVakansiya Vakant in SirketDB.Vakansiyalar) { foreach (UserCV CV in USERcvDB.usersCV) { if (Vakant.teleb == CV.userTeleb) { MessageBox.Show("Uygundur!"); //SirketPoct.lbl_poctCVName.Text = CV.userName; //SirketPoct.lbl_poctCVSurname.Text = CV.UserSurname; //SirketPoct.lbl_poctCVEmekHaqqi.Text = CV.UserEmekHaqqi; //SirketPoct.lbl_poctCVBilikler.Text = CV.userTeleb; break; } else if (Convert.ToInt32(Vakant.emekHaqqi) > Convert.ToInt32(CV.UserEmekHaqqi)) { MessageBox.Show("Uygundur!"); break; } else { MessageBox.Show("Uygun deyilsiniz"); break; } } } }
private void getPostCV_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { SirketCVPoct sirketPoct = new SirketCVPoct(); sirketPoct.Show(); }