Esempio 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();
            }
        }
Esempio 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 == 40) //satışa hazırlar
            {
                Proje frm = new Proje();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 41) //tüm satışlar
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 42) //satış iptalleri
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 43) //verilen teklifler
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 44) //rezerveler
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 45) //rezerve iptalleri
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 46) //raporlar
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 47) //tanımlamalar
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
        }
Esempio n. 3
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 == 50) //performans raporlar
            {
                Proje frm = new Proje();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 51) //satış raporu
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 52) //gelen ödemeler
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 53) //bekleyen ödemeler
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 54) //firma komisyonları
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 55) //personel primleri
            {
                Vaziyet frm = new Vaziyet();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 56) //dashboard ekranları
            {
                DashboardTanim frm = new DashboardTanim();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
        }