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

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