Пример #1
0
        private void biKH_ItemClick_2(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
        {
            UCKH uskh = new UCKH();

            usnv.Content        = uskh;
            biNV.IsEnabled      = true;
            biKH.IsEnabled      = false;
            nbiList.IsEnabled   = false;
            nbiDetail.IsEnabled = false;
            biBDS.IsEnabled     = true;
        }
Пример #2
0
        private void biKH_ItemClick(object sender, DevExpress.Xpf.Bars.ItemClickEventArgs e)
        {
            UCKH uskh = new UCKH();

            usnv.Content        = uskh;
            biNV.IsEnabled      = true;
            biKH.IsEnabled      = false;
            nbiList.IsEnabled   = false;
            nbiDetail.IsEnabled = false;
            biBDS.IsEnabled     = true;
            biKG.IsEnabled      = true;
            if (docGroup.Items.Count >= 2)
            {
                docGroup.Items.Remove(panel);
            }
            doc.DockController.Hide(lpmenu);
        }