PicturePath.cs 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Drawing;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace PaintDotNet.CustomControl
  11. {
  12. public partial class PicturePath : UserControl
  13. {
  14. public PicturePath()
  15. {
  16. InitializeComponent();
  17. InitializeLanguageText();
  18. }
  19. /// <summary>
  20. /// 必需的设计器变量。
  21. /// </summary>
  22. private System.ComponentModel.IContainer components = null;
  23. /// <summary>
  24. /// 清理所有正在使用的资源。
  25. /// </summary>
  26. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  27. protected override void Dispose(bool disposing)
  28. {
  29. if (disposing && (components != null))
  30. {
  31. components.Dispose();
  32. }
  33. base.Dispose(disposing);
  34. }
  35. #region 组件设计器生成的代码
  36. /// <summary>
  37. /// 设计器支持所需的方法 - 不要修改
  38. /// 使用代码编辑器修改此方法的内容。
  39. /// </summary>
  40. private void InitializeComponent()
  41. {
  42. this.button6 = new System.Windows.Forms.Button();
  43. this.button5 = new System.Windows.Forms.Button();
  44. this.SuspendLayout();
  45. //
  46. // button6
  47. //
  48. this.button6.Location = new System.Drawing.Point(21, 29);
  49. this.button6.Name = "button6";
  50. this.button6.Size = new System.Drawing.Size(75, 23);
  51. this.button6.TabIndex = 2;
  52. this.button6.Text = "当前软件";
  53. this.button6.UseVisualStyleBackColor = true;
  54. //
  55. // button5
  56. //
  57. this.button5.Location = new System.Drawing.Point(21, 70);
  58. this.button5.Name = "button5";
  59. this.button5.Size = new System.Drawing.Size(75, 23);
  60. this.button5.TabIndex = 3;
  61. this.button5.Text = "硬盘图像";
  62. this.button5.UseVisualStyleBackColor = true;
  63. //
  64. // PicturePath
  65. //
  66. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  67. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  68. this.BackColor = System.Drawing.SystemColors.ControlLight;
  69. this.Controls.Add(this.button5);
  70. this.Controls.Add(this.button6);
  71. this.Name = "PicturePath";
  72. this.Size = new System.Drawing.Size(120, 120);
  73. this.ResumeLayout(false);
  74. }
  75. private void InitializeLanguageText()
  76. {
  77. this.button6.Text = PdnResources.GetString("Menu.Currentsoftware.text");
  78. this.button5.Text = PdnResources.GetString("Menu.Theharddiskimage.Text");
  79. }
  80. #endregion
  81. public System.Windows.Forms.Button button6;
  82. public System.Windows.Forms.Button button5;
  83. }
  84. }