private void butAbout_Click(object sender, RoutedEventArgs e) { // Show the 'About' box. man.ShowAboutBox(); OpenCount++; }
private void conAbout_Click(object sender, EventArgs e) { var resMan = new System.Resources.ResourceManager(this.GetType()); var img = ((Icon)resMan.GetObject("$this.Icon")).ToBitmap(); manager.ShowAboutBox(img); }
private void HelpCommand_Executed(object sender, ExecutedRoutedEventArgs e) { var baseUri = BaseUriHelper.GetBaseUri(this); BitmapSource img = new BitmapImage(new Uri(baseUri, @"/img/colora.png")); manager.ShowAboutBox(img); }