示例#1
0
        private void turToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            Tur tur = new Tur();

            this.Hide();
            tur.Show();
        }
示例#2
0
        private void pictureBox5_Click(object sender, EventArgs e)
        {
            Tur yeni = new Tur();

            yeni.Show();
            this.Hide();
        }
示例#3
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (Atama.kategori == "Muze")
            {
                this.Hide();
                Muze muze = new Muze();
                muze.Show();
            }

            if (Atama.kategori == "Tur")
            {
                this.Hide();
                Tur tur = new Tur();
                tur.Show();
            }

            if (Atama.kategori == "Otel")
            {
                this.Hide();
                Otel otel = new Otel();
                otel.Show();
            }

            if (Atama.kategori == "Restoran")
            {
                this.Hide();
                Restoran rest = new Restoran();
                rest.Show();
            }

            if (Atama.kategori == "Odeme")
            {
                this.Hide();
                Odeme odeme = new Odeme();
                odeme.Show();
            }

            if (Atama.kategori == "Anasayfa")
            {
                this.Hide();
                anasayfa ana = new anasayfa();
                ana.Show();
            }
        }