Exemplo n.º 1
0
        private void pictureBox3_Click(object sender, EventArgs e)
        {
            Museum yeni = new Museum();

            yeni.Show();
            this.Hide();
        }
Exemplo n.º 2
0
        private void müzeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Museum muze = new Museum();

            this.Hide();
            muze.Show();
        }
Exemplo n.º 3
0
        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();
            }
        }