コード例 #1
0
 private void btnGonder_Click(object sender, EventArgs e)
 {
     if (richTextBoxYazYrm.Text != "")
     {
         try
         {
             Baglanti baglanti = new Baglanti();
             string   sorgu    = $"YorumEkle '{kullaniciId}','{richTextBoxYazYrm.Text}','{filmId}'";
             baglanti.sorguCalistir(sorgu);
             YorumListele yorumListele = new YorumListele(filmId, kullaniciId, flowLayoutPanel1, label, admin);
             richTextBoxYazYrm.Text = "";
             int sayi = (Convert.ToInt32(this.label.Text));
             this.label.Text = (++sayi).ToString();
         }
         catch (Exception exception)
         {
             MessageBox.Show(exception.Message);
         }
     }
 }
コード例 #2
0
 private void FilmBilgi_Load(object sender, EventArgs e)
 {
     YorumListele yorumListele = new YorumListele(filmId, kullaniciId, flowLayoutPanel1, label, admin);
 }