public void AddTable(Data.BAN ban) { POSButtonTable tbl = new POSButtonTable(ban, gridFloorPlan);; tbl.IsEnabled = true; tbl._IsEdit = this._IsEdit; tbl.TableDraw(mBOBan._CAIDATBAN); tbl.Click += new RoutedEventHandler(tbl_Click); gridFloorPlan.Children.Add(tbl); }
public void AddTable(Data.BAN ban) { POSButtonTable tbl = new POSButtonTable(ban,gridFloorPlan); ; tbl.IsEnabled = true; tbl._IsEdit = this._IsEdit; tbl.TableDraw(mBOBan._CAIDATBAN); tbl.Click += new RoutedEventHandler(tbl_Click); gridFloorPlan.Children.Add(tbl); }
public void DrawTable(POSButtonTable tbl) { tbl.TableDraw(mBOBan._CAIDATBAN); }