PicturePath.cs 3.0 KB

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