private void OnHelpAbout(object sender, RoutedEventArgs e) { var d = new GuiComp.DialogAbout(); d.SourceCodeUri = new Uri("https://github.com/ufasoft/coin"); d.Image.Source = new BitmapImage(new Uri($"/{ System.Reflection.Assembly.GetExecutingAssembly().GetName().Name};component/coin.ico", UriKind.Relative)); Dialog.ShowDialog(d, this); }
private void OnHelpAbout(object sender, RoutedEventArgs e) { var d = new GuiComp.DialogAbout(); d.Image.Source = new BitmapImage(new Uri("/coin;component/coin-3.ico", UriKind.Relative)); Dialog.ShowDialog(d, this); }
private void OnHelpAbout(object sender, RoutedEventArgs e) { var d = new GuiComp.DialogAbout(); d.SourceCodeUri = new Uri("https://github.com/ufasoft/coin"); d.Image.Source = new BitmapImage(new Uri(string.Format("/{0};component/coin.ico", System.Reflection.Assembly.GetExecutingAssembly().GetName().Name), UriKind.Relative)); Dialog.ShowDialog(d, this); }