public frmVipConsumption() { InitializeComponent(); wsm = new WSMemeber(); crInstance = new CardReader(); crInstance.OnReadFini += readCallBack; }
public frmIntegralQuery() { wsm = new WSMemeber(); InitializeComponent(); crInstance = new CardReader(); crInstance.OnReadFini += readCallBack; }
private void btnCancel_Click(object sender, EventArgs e) { wsc.Dispose(); wsm.Discover(); wsc = null; wsm = null; this.Close(); }
public frmAddNewVip() { InitializeComponent(); wsm = new WSMemeber(); wsp = new WSPotentialMember(); cbCardKind.SelectedIndex = 0; cbSex.SelectedIndex = 0; crInstance = new CardReader(); }
public frmVipEnter() { InitializeComponent(); wsm = new WSMemeber(); wsr = new WSRack(); wsi = new WSImport(); crInstance = new CardReader(); crInstance.OnReadFini += readCallBack; }
public frmVipInfoMgr() { InitializeComponent(); wsm = new WSMemeber(); dataVipInfo.AutoGenerateColumns = false; paging1.OnFirstPage += ChangePage; paging1.OnJumpToPage += ChangePage; paging1.OnLastPage += ChangePage; paging1.OnPageDown += ChangePage; paging1.OnPageUp += ChangePage; paging1.OnReload += ChangePage; cbCardKind.SelectedIndex = 0; }
public frmeRceiveInfo() { ws = new WSCollect(); wsm = new WSMemeber(); InitializeComponent(); }
private void loadingData() { wsm = new BLLMember.WSMemeber(); wsc = new BLLCoach.WSCoach(); int a1 = 1, a2 = 1, b1, b2; BLLCoach.Coach[] coach = wsc.Search(new BLLCoach.Coach() { Id = -1, Name = "", Mobilephone = "" }, ref a1, 100000, out b1); dataCoachInfo.DataSource = coach; BLLMember.Member[] member = wsm.Search(new BLLMember.Member() { CardNo = "", Name = "", Mobilephone = "", CoachId = -1, CardType = "", AdviserId = -1 }, true, ref a2, 100000, out b2); dataMemberInfo.DataSource = member; }
private void frmRackMgr_Load(object sender, EventArgs e) { ws = new WSMemeber(); int a = 1, b; memberInfo = ws.Search(new Member() { CardNo = "", Name = "", Mobilephone = "", CardType = "", CoachId = -1, AdviserId = -1 }, true, ref a, 100000, out b); LoadByPaging(1); dataRankInfo.CellMouseClick += (ss, ee) => { if (dataRankInfo.SelectedRows != null && dataRankInfo.SelectedRows.Count > 0) { tbnoq.Text = dataRankInfo.SelectedRows[0].Cells[0].Value.ToString(); tbRackNo.Text = dataRankInfo.SelectedRows[0].Cells[1].Value.ToString(); object value = rackInfo[dataRankInfo.SelectedRows[0].Index].RenterId; tbCardNoQ.Text = value == null ? "" : ws.GetCardNoById(Convert.ToInt32(value)); dataBgn.Value = Convert.ToDateTime(dataRankInfo.SelectedRows[0].Cells[3].Value); dataEnd.Value = Convert.ToDateTime(dataRankInfo.SelectedRows[0].Cells[4].Value); tbTips.Text = dataRankInfo.SelectedRows[0].Cells[5].Value.ToString(); } }; }