You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using BPASmart.Model;
- using BPASmart.RecipeManagement.View;
- using Microsoft.Toolkit.Mvvm.ComponentModel;
- using Microsoft.Toolkit.Mvvm.Input;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmart.RecipeManagement.ViewModel
- {
- public class OrderManagerViewModel : ObservableObject
- {
- /// <summary>
- /// 订单集合
- /// </summary>
- public ObservableCollection<Order> orders { get; set; } = Globle.GlobleData.orders;
-
- public RelayCommand CreateOrderCommand { get; set; }
-
- public OrderManagerViewModel()
- {
-
-
- CreateOrderCommand = new RelayCommand(() =>
- {
- CreateOrder createOrder = new CreateOrder();
- createOrder.ShowDialog();
- });
- }
- }
- }
|