Beispiel #1
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmDüzenle FormGüncelle = new frmDüzenle();

            FormGüncelle.txtTcKimlik.Text = lblTcnoGizli.Text;
            FormGüncelle.ShowDialog();
        }
Beispiel #2
0
 private void btnDüzenle_Click(object sender, EventArgs e)
 {
     if (lblPerAdSoyadGizli.Text == "label2")
     {
         MessageBox.Show("Herhangi bir personel seçilmedi!" + Environment.NewLine + "" + Environment.NewLine + "Düzenlemek istediğiniz personeli seçip tekrar deneyiniz", "Dikkat", MessageBoxButtons.OK, MessageBoxIcon.Information);
         //MessageBox.Show("Persenel bilgileri güncelleştirildi", "Başarılı", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     else
     {
         frmDüzenle FormGüncelle = new frmDüzenle();
         FormGüncelle.txtTcKimlik.Text = lblTcnoGizli.Text;
         FormGüncelle.ShowDialog();
     }
 }
Beispiel #3
0
        private void cmblarıgüncelle()
        {
            frmDüzenle listele = (frmDüzenle)Application.OpenForms["frmDüzenle"]; // Güncelle formundaki combobaxlar **

            listele.cmbTekrargüncelle();
        }
        private void cmblarıgüncelle() // Güncelle formundaki combobaxları güncelle
        {
            frmDüzenle frmDüzenle = (frmDüzenle)Application.OpenForms["frmDüzenle"];

            frmDüzenle.cmbTekrargüncelleMYK_İSG();
        }