示例#1
0
文件: Class1.cs 项目: awllif/ckpa
        void cmdAdd_Click(object sender, EventArgs e)
        {
            FormApplayOrder fao = new FormApplayOrder(iapplication, idataservice);

            fao.ShowForm(FormType.Insert);
            //FormCreateOrder FCO = new FormCreateOrder(iapplication, idataservice,GetPlugQueryCmdInfo());
            //IRight ir = (IRight)iapplication.GetService(typeof(IRight));
            //FCO.RegStatickElement("F_CREATEUSER", System.Data.SqlDbType.Int, ir.UserId);
            //// FCO.RegStatickElement("F_CREATENAME", System.Data.SqlDbType.VarChar, ir.UserName);
            //// FCO.RegStatickElement("F_CREATEAGENCY", System.Data.SqlDbType.VarChar, ir.AgencyName);
            //FCO.ShowForm(FormType.Insert);
        }
示例#2
0
文件: Class1.cs 项目: awllif/ckpa
        void cmdEdit_Click(object sender, EventArgs e)
        {
            FormApplayOrder fao = new FormApplayOrder(iapplication, idataservice);

            fao.ShowForm(FormType.Edit);
        }