Ejemplo n.º 1
0
        private void galleryControl1_Gallery_ItemClick(object sender, DevExpress.XtraBars.Ribbon.GalleryItemClickEventArgs e)
        {
            BackstageViewControl bvc = Parent.Parent as BackstageViewControl;

            bvc.Ribbon.HideApplicationButtonContentControl();

            int value = Convert.ToInt32(e.Item.Value);

            if (value == 18)
            {
                Proje frm = new Proje();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 19)
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 20)
            {
                Gayrimenkul frm = new Gayrimenkul();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 21)
            {
                FiyatListesi frm = new FiyatListesi();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 22)
            {
                Kampanya frm = new Kampanya();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 23)
            {
                Aktarim frm = new Aktarim();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 24)
            {
                Rapor frm = new Rapor();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 25)
            {
                Tanimlama frm = new Tanimlama();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
        }
Ejemplo n.º 2
0
        private void galleryControl1_Gallery_ItemClick(object sender, DevExpress.XtraBars.Ribbon.GalleryItemClickEventArgs e)
        {
            BackstageViewControl bvc = Parent.Parent as BackstageViewControl;

            bvc.Ribbon.HideApplicationButtonContentControl();

            int value = Convert.ToInt32(e.Item.Value);

            if (value == 13)
            {
                Baglanti frm = new Baglanti();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 14)
            {
                BaglantiHareketi frm = new BaglantiHareketi();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 15)
            {
                BaglantiPotansiyel frm = new BaglantiPotansiyel();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 16)
            {
                Tanimlama frm = new Tanimlama();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 17)
            {
                Rapor frm = new Rapor();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 49)
            {
                SadakatYonetimi frm = new SadakatYonetimi();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 22)
            {
                Kampanya frm = new Kampanya();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
        }