Exemplo n.º 1
0
 public OrderPay(int TId, int LoginType)
 {
     //显示在屏幕中间
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
     this.TId = TId;
     InitializeComponent();
     LoadOrderList();
     TableNumber.Content = TableInfoConnector.GetTable(TId).hall.HName + TableInfoConnector.GetTable(TId).TTitle + "桌";
     this.loginType      = LoginType;
 }
Exemplo n.º 2
0
 public OrderDishWindow(int TId, int type)
 {
     //显示在屏幕中间
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
     this.TId  = TId;
     LoginType = type;
     addOrders = new List <AddOrderTmp>();
     InitializeComponent();
     tableInfo = TableInfoConnector.GetTable(TId);
     LoadExistOrder();
     TableNameTextBlock.Text = tableInfo.hall.HName + tableInfo.TTitle + "桌";
     AddDishTypeList();
     DishTypeList.SelectedIndex = 1;
 }