Пример #1
0
        private void personelEkleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PersonelIslem p = new PersonelIslem();

            p.button2.Tag = Convert.ToInt32(dataGridView1.CurrentRow.Cells["id"].Value);
            p.ShowDialog();
        }
Пример #2
0
        private void personelGuncelleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PersonelIslem per = new PersonelIslem();

            per.texadi.Tag    = Convert.ToInt32(dataGridView1.CurrentRow.Cells["id"].Value);
            per.texsoyadi.Tag = Convert.ToInt32(dataGridView1.CurrentRow.Cells["Otelid"].Value);
            Guncelle(per);
        }