示例#1
0
        private async void StockAdd_Click(object sender, RoutedEventArgs e)
        {
            var editWindow = new StocksEdit();

            editWindow.ShowDialog();
            await Restore();
        }
示例#2
0
        private async void StockEdit_Click(object sender, RoutedEventArgs e)
        {
            var se = new StocksEdit();

            se.StockItem = SelectedStock;
            se.ShowDialog();
            await Restore();
        }