private void AddButton_OnClick(object sender, RoutedEventArgs e) { var wind = new AddCiterne(Guid.Empty) { Owner = Window.GetWindow(this) }; wind.ShowDialog(); Refresh(); }
private async void AddButton_OnClick(object sender, RoutedEventArgs e) { var wind = new AddCiterne(Guid.Empty) { Owner = Window.GetWindow(this) }; wind.ShowDialog(); await Refresh(); }