private void pictureBox3_Click(object sender, EventArgs e) { Museum yeni = new Museum(); yeni.Show(); this.Hide(); }
private void müzeToolStripMenuItem_Click(object sender, EventArgs e) { Museum muze = new Museum(); this.Hide(); muze.Show(); }
private void button1_Click(object sender, EventArgs e) { if (BaseClass.kategori == "Muze") { this.Hide(); Museum muze = new Museum(); muze.Show(); } if (BaseClass.kategori == "Tur") { this.Hide(); Tour tur = new Tour(); tur.Show(); } if (BaseClass.kategori == "Otel") { this.Hide(); Hotel otel = new Hotel(); otel.Show(); } if (BaseClass.kategori == "Restoran") { this.Hide(); Restourant rest = new Restourant(); rest.Show(); } if (BaseClass.kategori == "Odeme") { this.Hide(); Payment odeme = new Payment(); odeme.Show(); } if (BaseClass.kategori == "Anasayfa") { this.Hide(); HomePage ana = new HomePage(); ana.Show(); } }