private async void StockAdd_Click(object sender, RoutedEventArgs e) { var editWindow = new StocksEdit(); editWindow.ShowDialog(); await Restore(); }
private async void StockEdit_Click(object sender, RoutedEventArgs e) { var se = new StocksEdit(); se.StockItem = SelectedStock; se.ShowDialog(); await Restore(); }