private void Frm_MTR_RETURN_Load(object sender, EventArgs e) { #region 添加应用程序 if (this.mFrm.gUserInfo.rolecaption == "系统开发员") { IList <IDictionary <string, object> > lsfunls = new List <IDictionary <string, object> >(); FrmBLL.publicfuntion.GetFromCtls(this, ref lsfunls); Dictionary <string, object> dic = new Dictionary <string, object>(); dic.Add("PROGID", this.Name); dic.Add("PROGNAME", this.Text); dic.Add("PROGDESC", this.Text); FrmBLL.publicfuntion.AddProgInfo(dic, lsfunls); } imbt_RePrint.Enabled = false; #endregion tb_FilePatch.Text = Directory.GetCurrentDirectory() + "\\LabelFile\\FEIXUN_LOT.lab"; splitContainer1.Width = this.Width / 3 - 30; tabControl1.SelectedIndex = 0; tb_woId.Focus(); try { sPL = new PrintDLL.PrintLabel(); sPL.ConnCodeSoft(); sPL.RichTextBoxMsg(rtbcancel); } catch { } dt_UpLoad_Erp.Columns.Add("SHIPPING_NO"); dt_UpLoad_Erp.Columns.Add("KP_NO"); dt_UpLoad_Erp.Columns.Add("QTY"); dt_UpLoad_Erp.Columns.Add("DEB_CRED"); dt_UpLoad_Erp.Columns.Add("STORE_LOC"); dt_UpLoad_Erp.Columns.Add("MOVE_STLOC"); dt_UpLoad_Erp.Columns.Add("PLANT"); }