public UpdateManager() { InitializeComponent(); btnaction.Click += (o, a) => OnActionButtonClick?.Invoke(); }
private void Button_Click(object sender, RoutedEventArgs e) { this.Result = MessageBoxResult.OK; OnActionButtonClick?.Invoke(sender, e); this.Close(); }