private void Patrons_Click(object sender, RoutedEventArgs e) { var patreonWin = new PatreonWin(); patreonWin.Show(); patreonWin.Resources["DearPatrons"] = this.Resources["DearPatrons"]; patreonWin.Resources["PatronsMsg"] = this.Resources["PatronsMsg"]; patreonWin.Resources["PatronsThankYou"] = this.Resources["PatronsThankYou"]; }
private void Patrons_Click(object sender, RoutedEventArgs e) { /* * string caption = "TataruHelper v" + Convert.ToString(System.Reflection.Assembly.GetEntryAssembly().GetName().Version); * string text = "TataruHelper" + Environment.NewLine + "GitHub: " + _GitPath; * * MessageBoxResult result = Xceed.Wpf.Toolkit.MessageBox.Show(text, caption, MessageBoxButton.OK);//*/ var patreonWin = new PatreonWin(); patreonWin.Show(); patreonWin.Resources["DearPatrons"] = this.Resources["DearPatrons"]; patreonWin.Resources["PatronsMsg"] = this.Resources["PatronsMsg"]; patreonWin.Resources["PatronsThankYou"] = this.Resources["PatronsThankYou"]; }