public void RefreshData() { if (this.InvokeRequired) { RefreshDataInvoke rdi = new RefreshDataInvoke(RefreshData); this.Invoke(rdi); } else { if (this.cbe_Row.Text == "") { return; } this.Presenter.RefreshPosData(this.cbe_HouseList.Text, this.cbe_Row.Text, this.cbe_PosTypeList.Text.Trim()); } }
public void RefreshData() { if (this.InvokeRequired) { RefreshDataInvoke rdi = new RefreshDataInvoke(RefreshData); this.Invoke(rdi); } else { if (this.tscb_Rowth.Text == "") { return; } int queryRow = int.Parse(this.tscb_Rowth.Text); this.presenter.RefreshPos(this.tscb_StoreHouseName.Text, queryRow); } }