private float m_pageHeight = 25F; //纸张高度 mm单位 public static FrmOutsideBarCodePrint GetSingleton() { if (frm == null) { frm = new FrmOutsideBarCodePrint(); } return(frm); }
private void tsmiwxbarPrints_Click(object sender, EventArgs e) { FrmOutsideBarCodePrint frm = new FrmOutsideBarCodePrint(); frm.MdiParent = this; frm.Show(); frm.Activate(); }