示例#1
0
 private void IterateBackstageViewControl(BackstageViewControl bv)
 {
     foreach (BackstageViewItemBase b in bv.Items)
     {
         Apply(b, b.Name);
     }
 }
        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 == 30)
            {
                DashboardTanim frm = new DashboardTanim();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            if (value == 26) //kullanıcı tanımları
            {
                Kullanici frm = new Kullanici();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            if (value == 35) //hareket bağlantı kaynakları
            {
                Kullanici frm = new Kullanici();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
        }
示例#3
0
 public OpenRecentXuc(AppConfig appCfg, BackstageViewControl bsv)
     : this()
 {
     this.appCfg = appCfg;
     this.recentlyOpenedFileListBindingSource.DataSource = this.appCfg.RecentlyOpenedFileList;
     this.backStageView = bsv;
 }
示例#4
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();
            }
        }
        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();
            }
        }
示例#6
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();
            }
        }
示例#7
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();
            }
        }
        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 == 8)
            {
                Ofis frm = new Ofis();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 9)
            {
                Personel frm = new Personel();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 10)
            {
                PersonelTakimlari frm = new PersonelTakimlari();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 11)
            {
                PersonelTakimlariYetkileri frm = new PersonelTakimlariYetkileri();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
            else if (value == 12)
            {
                Firma frm = new Firma();
                frm.MdiParent = Master.ActiveForm;
                frm.Show();
            }
        }
示例#9
0
 public CustomOffice2013BackstageViewInfo(BackstageViewControl control) : base(control)
 {
 }