private void frmEnroll_Load(object sender, EventArgs e) { bpc = (AxSBXPCLib.AxSBXPC)Application.OpenForms["frmMain"].Controls["SBXPC1"]; gbytEnrollData = new Byte[DATASIZE * 5]; gbytEnrollData1 = new Byte[DATASIZE * 5]; gTemplngEnrollData = new int[DATASIZE]; gTempEnrollName = new int[NAMESIZE]; ascii = new ASCIIEncoding(); EnrollData ed = new EnrollData(); ed.New("./"); dsEnrolls = EnrollData.DataModule.GetEnrollDatas(); }
public void New(string sDatapath) { this.mDataPath = sDatapath; EnrollData.DataModule = this; }