public frmVipEnter() { InitializeComponent(); wsm = new WSMemeber(); wsr = new WSRack(); wsi = new WSImport(); crInstance = new CardReader(); crInstance.OnReadFini += readCallBack; }
public frmRackMgr() { wsr = new WSRack(); InitializeComponent(); dataRankInfo.AutoGenerateColumns = false; paging1.OnFirstPage += ChangePage; paging1.OnJumpToPage += ChangePage; paging1.OnLastPage += ChangePage; paging1.OnPageDown += ChangePage; paging1.OnPageUp += ChangePage; paging1.OnReload += ChangePage; }
private void btnCancel_Click(object sender, EventArgs e) { wsr.Dispose(); wsr = null; this.Close(); }