private void Image_Click(object sender, EventArgs e) { PictureBox Image = sender as PictureBox; Baglanti.ProgramSec(Convert.ToInt32(Image.Tag)); this.Close(); }
private void lblFilmAd_Click(object sender, EventArgs e) { StorkData Baglanti = new StorkData(); TextBox lbbl = sender as TextBox; Baglanti.ProgramSec(Convert.ToInt32((panel2.Controls["FilmAfis" + lbbl.Name.Substring(9)] as PictureBox).Tag)); this.Close(); }
private void FilmAfis_Click(object sender, EventArgs e) { PictureBox Image = sender as PictureBox; StorkData Baglanti = new StorkData(); Baglanti.ProgramSec(Convert.ToInt32(Image.Tag)); this.Close(); }