示例#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();
 }