Beispiel #1
0
        private void layoutTabl_SelectedIndexChanged(object sender, EventArgs e)
        {
            LayoutXTabPanelPage selectPage = sender as LayoutXTabPanelPage;
            String tabId = selectPage.Id;

            switch (tabId)
            {
            case "OrTmplTreeViewRis":
            case "OrTmplTreeViewLis":
            case "OrTmplTreeViewTreat":
            case "OrTmplTreeViewDrugs":
            case "OrTmplTreeViewCom":
                (selectPage.PageControl as OrTmplTreeView).loadView();
                break;
            }
        }
Beispiel #2
0
        void layoutTabl_SelectedIndexChanged(object sender, EventArgs e)
        {
            LayoutXTabPanelPage selectPage = sender as LayoutXTabPanelPage;
            String tabId = selectPage.Id;

            switch (tabId)
            {
            case "obsOpTemplateFrame":
            case "labOpTemplateFrame":
            case "treateOpTemplateFrame":
            case "westdrugOpTemplateFrame":
            case "sysOpTemplateFrame":
                (selectPage.PageControl as OpOrderTemplateTreeViewPithy).loadView();
                break;
            }
        }