private void button1_Click(object sender, EventArgs e) { Renk frm = new Renk(); frm.Show(); this.Close(); }
private void cB_NaVi_SelectedIndexChanged(object sender, EventArgs e) { if (cB_NaVi.SelectedIndex == 0) { Siparis frm = new Siparis(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 1) { Personel frm = new Personel(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 2) { Sirket frm = new Sirket(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 3) { Kumaslar frm = new Kumaslar(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 4) { Aksesuar frm = new Aksesuar(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 5) { Renk frm = new Renk(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 6) { DikimMudur frm = new DikimMudur(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 7) { KesimMudur frm = new KesimMudur(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 8) { DepoMudur frm = new DepoMudur(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 9) { ModelMudur frm = new ModelMudur(); frm.Show(); this.Close(); } if (cB_NaVi.SelectedIndex == 10) { Urun frm = new Urun(); frm.Show(); this.Close(); } }