Пример #1
0
        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
        void cmdEdit_Click(object sender, EventArgs e)
        {
            FormApplayOrder fao = new FormApplayOrder(iapplication, idataservice);

            fao.ShowForm(FormType.Edit);
        }