protected override int QueryAll( ) { if (string.IsNullOrEmpty(strW)) { strW = " AND IBB015='N' AND IBB023='T' AND IBB965!=''"; } else { strW = " AND IBB023='T' AND IBB965!=''"; } tableQuery = _bll.getTableQuery(strW); txtRAA001.Properties.DataSource = tableQuery; txtRAA001.Properties.DisplayMember = "IBB001"; txtRAA001.Properties.ValueMember = "IBB001"; txtDEL015.Enabled = true; btn.Enabled = true; tablePNum = _bll.getTablePNum( ); sonOfNum.DataSource = tablePNum; sonOfNum.DisplayMember = "DEA001"; sonOfNum.ValueMember = "DEA001"; if (toolSave.Visibility == DevExpress.XtraBars.BarItemVisibility.Always) { txtDEL015.Enabled = false; btn.Enabled = false; } else { txtDEL015.Enabled = true; btn.Enabled = true; } return(base.QueryAll( )); }
protected override int QueryAll( ) { tableQuery = _bll.getTableQuery( ); txtRAA001.Properties.DataSource = tableQuery; txtRAA001.Properties.DisplayMember = "IBB001"; txtRAA001.Properties.ValueMember = "IBB001"; tablePNum = _bll.getTablePNum( ); sonOfNum.DataSource = tablePNum; sonOfNum.DisplayMember = "DEA001"; sonOfNum.ValueMember = "DEA001"; txtDEL015.Properties.DataSource = _bll.getTableOrder( ); txtDEL015.Properties.DisplayMember = "DEL015"; txtDEL015.Properties.ValueMember = "DEL015"; return(base.QueryAll( )); }