void cmdAdd_Click(object sender, EventArgs e) { FormCreateOrder FCO = new FormCreateOrder(iapplication, idataservice); IRight ir = (IRight)iapplication.GetService(typeof(IRight)); FCO.RegStatickElement("F_APPLAYUSER", 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.Edit); }
void cmdEdit_Click(object sender, EventArgs e) { FormCreateOrder FCO = new FormCreateOrder(iapplication, idataservice); FCO.ShowForm(FormType.Edit); }