예제 #1
0
        private void btnUyeYeni_Click(object sender, EventArgs e)
        {
            btnduzen = 0;
            yeniUye ac = new yeniUye();

            ac.ShowDialog();
        }
예제 #2
0
        void duzenleUye()
        {
            sID    = dtgvUye.CurrentRow.Cells["ID"].Value.ToString();
            sAd    = dtgvUye.CurrentRow.Cells["Isim"].Value.ToString();
            sSoyad = dtgvUye.CurrentRow.Cells["Soyisim"].Value.ToString();
            sBolum = dtgvUye.CurrentRow.Cells["Bolum"].Value.ToString();
            sTel   = dtgvUye.CurrentRow.Cells["Telefon"].Value.ToString();
            sMail  = dtgvUye.CurrentRow.Cells["Mail"].Value.ToString();
            sOgNo  = dtgvUye.CurrentRow.Cells["OgrenciNO"].Value.ToString();

            sHava  = dtgvUye.CurrentRow.Cells["Hava"].Value.ToString();
            sKara  = dtgvUye.CurrentRow.Cells["Kara"].Value.ToString();
            sDeniz = dtgvUye.CurrentRow.Cells["Deniz"].Value.ToString();
            sSiber = dtgvUye.CurrentRow.Cells["Siber"].Value.ToString();

            sAciklama = dtgvUye.CurrentRow.Cells["Aciklama"].Value.ToString();

            btnduzen = 1;


            yeniUye duzenleme = new yeniUye();

            duzenleme.ShowDialog();
        }