InformationAdjustControl.cs 859 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Windows.Forms;
  3. namespace PaintDotNet.CustomControl
  4. {
  5. public partial class InformationAdjustControl : BaseUserControl
  6. {
  7. private void InitializeLanguageText()
  8. {
  9. if (!DesignMode)
  10. {
  11. this.label1.Text = PdnResources.GetString("Menu.Imagename.text") + ":";
  12. this.label2.Text = PdnResources.GetString("Menu.Generatenewgraph.text") + ":";
  13. this.radioButton1.Text = PdnResources.GetString("Menu.Yes.text");
  14. this.radioButton2.Text = PdnResources.GetString("Menu.no.text");
  15. this.groupBox1.Text = PdnResources.GetString("Menu.information.text");
  16. }
  17. }
  18. public InformationAdjustControl()
  19. {
  20. InitializeComponent();
  21. InitializeLanguageText();
  22. }
  23. }
  24. }