Exemple #1
0
        void OrdApBuView_Load(object sender, EventArgs e)
        {
            xapUserControl.Init("modules\\iihci\\ui\\ordbu\\ordbu_config.xml");
            this.xapFormControl.AddRender(xapUserControl);
            //var a = 0;
            c = xapUserControl.GetBaseContext().Config.GetInstance("OrdApBuGridView");
            if (c != null)
            {
                var emg = c as OrdApBuGridView;
                emg.LoadGrid(EmsHeadDO, this.CiEmsDTO);
            }


            b = xapUserControl.GetBaseContext().Config.GetInstance("OrdApBuCardView");
            if (b != null)
            {
                var emg = b as OrdApBuCardView;
                emg.loadcard(EmsHeadDO, this.CiEmsDTO);
            }
        }