예제 #1
0
        private void dataGridView1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            TedarikciGuncelleme F3 = new TedarikciGuncelleme();

            F3.lblId.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            int       id = Convert.ToInt32(F3.lblId.Text);
            Tedarikci t  = tedarikciRepo.IDGoreGetir(g => g.ID == id);

            F3.txtTAd.Text           = t.Ad;
            F3.txtTYetkiliAd.Text    = t.YetkiliAd;
            F3.txtTYetkiliSoyad.Text = t.YetkiliSoyad;
            F3.txtTSektor.Text       = t.Sektor;
            F3.txtTVNo.Text          = t.VergiNo;
            F3.txtTVDairesi.Text     = t.VergiDairesi;
            F3.mtbTTelefon.Text      = t.Telefon;
            F3.txtTMail.Text         = t.Mail;
            F3.txtTFaks.Text         = t.Faks;
            F3.rtbTAciklama.Text     = t.Aciklama;
            F3.rtbTAdres.Text        = t.Adres;
            F3.Show();
            this.Close();
        }
예제 #2
0
        private void btnTGuncelle_Click(object sender, EventArgs e)
        {
            TedarikciGuncelleme frmTedarikciGuncelle = new TedarikciGuncelleme();

            frmTedarikciGuncelle.Show();
        }