コード例 #1
0
 internal void AddList()
 {
     _ = new StockEditViewModel(this, StockListView, null);
     UpdateStockList();
     StockListView.DataContext = null;
     StockListView.DataContext = Medicine;
 }
コード例 #2
0
        public StockEditWindow(StockEditViewModel stockEditViewModel)
        {
            InitializeComponent();

            StockEditViewModel = stockEditViewModel;
        }
コード例 #3
0
 internal void StockEdit(Stock stock)
 {
     _ = new StockEditViewModel(this, StockListView, stock);
     StockListView.DataContext = null;
     StockListView.DataContext = Medicine;
 }