Form1.Designer.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. namespace WindowsFormsIOFileStream
  2. {
  3. partial class Form1
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.label1 = new System.Windows.Forms.Label();
  29. this.textBox1 = new System.Windows.Forms.TextBox();
  30. this.button1 = new System.Windows.Forms.Button();
  31. this.button2 = new System.Windows.Forms.Button();
  32. this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
  33. this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
  34. this.SuspendLayout();
  35. //
  36. // label1
  37. //
  38. this.label1.AutoSize = true;
  39. this.label1.Location = new System.Drawing.Point(28, 20);
  40. this.label1.Name = "label1";
  41. this.label1.Size = new System.Drawing.Size(82, 15);
  42. this.label1.TabIndex = 0;
  43. this.label1.Text = "文件内容:";
  44. //
  45. // textBox1
  46. //
  47. this.textBox1.Location = new System.Drawing.Point(21, 48);
  48. this.textBox1.Multiline = true;
  49. this.textBox1.Name = "textBox1";
  50. this.textBox1.Size = new System.Drawing.Size(333, 165);
  51. this.textBox1.TabIndex = 1;
  52. //
  53. // button1
  54. //
  55. this.button1.Location = new System.Drawing.Point(56, 231);
  56. this.button1.Name = "button1";
  57. this.button1.Size = new System.Drawing.Size(75, 30);
  58. this.button1.TabIndex = 2;
  59. this.button1.Text = "写入";
  60. this.button1.UseVisualStyleBackColor = true;
  61. this.button1.Click += new System.EventHandler(this.button1_Click);
  62. //
  63. // button2
  64. //
  65. this.button2.Location = new System.Drawing.Point(227, 231);
  66. this.button2.Name = "button2";
  67. this.button2.Size = new System.Drawing.Size(75, 30);
  68. this.button2.TabIndex = 3;
  69. this.button2.Text = "读取";
  70. this.button2.UseVisualStyleBackColor = true;
  71. this.button2.Click += new System.EventHandler(this.button2_Click);
  72. //
  73. // openFileDialog1
  74. //
  75. this.openFileDialog1.FileName = "openFileDialog1";
  76. //
  77. // Form1
  78. //
  79. this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
  80. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  81. this.ClientSize = new System.Drawing.Size(380, 273);
  82. this.Controls.Add(this.button2);
  83. this.Controls.Add(this.button1);
  84. this.Controls.Add(this.textBox1);
  85. this.Controls.Add(this.label1);
  86. this.Name = "Form1";
  87. this.Text = "Form1";
  88. this.ResumeLayout(false);
  89. this.PerformLayout();
  90. }
  91. #endregion
  92. private System.Windows.Forms.Label label1;
  93. private System.Windows.Forms.TextBox textBox1;
  94. private System.Windows.Forms.Button button1;
  95. private System.Windows.Forms.Button button2;
  96. private System.Windows.Forms.OpenFileDialog openFileDialog1;
  97. private System.Windows.Forms.SaveFileDialog saveFileDialog1;
  98. }
  99. }