// 주문 후 테이블 정보 새로고침 private void Order_OnOrderComplete(object sender, OrderArgs args) { foreach (Table list in App.TableData.lstTable) { if (list.Id == args.tableId) { SelectedTablectrl.SetTable(list); } } }
private void BackToMainWindow(object sender, RoutedEventArgs e) { OrderArgs args = new OrderArgs(); args.tableId = currentTable.Id; if (OnOrderComplete != null) { OnOrderComplete(this, args); } this.Visibility = Visibility.Collapsed; }
private void SetLoginTime(object sender, OrderArgs args) { String LoginTime = DateTime.Now.ToString("hh : mm : ss"); loginTime.Content = " 최근접속시간\n " + LoginTime; }