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(); } }
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(); } }