Exemplo n.º 1
0
        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());
            }
        }
Exemplo n.º 2
0
 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);
     }
 }