예제 #1
0
        private async void AddButton_OnClick(object sender, RoutedEventArgs e)
        {
            var wind = new AddOilPrelev {
                Owner = Window.GetWindow(this)
            };

            wind.ShowDialog();
            await Refresh(_currentOils);
        }
예제 #2
0
 private async void AddButton_OnClick(object sender, RoutedEventArgs e)
 {
     var wind = new AddOilPrelev { Owner = Window.GetWindow(this) };
     wind.ShowDialog();
     await Refresh(_currentOils);
 }