Advertisement
Cassimus

WinWordForms

May 6th, 2024
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. partial class Form1
  2. {
  3. /// <summary>
  4. /// Wymagana zmienna projektanta.
  5. /// </summary>
  6. private System.ComponentModel.IContainer components = null;
  7.  
  8. /// <summary>
  9. /// Wyczyść wszystkie używane zasoby.
  10. /// </summary>
  11. /// <param name="disposing">prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.</param>
  12. protected override void Dispose(bool disposing)
  13. {
  14. if (disposing && (components != null))
  15. {
  16. components.Dispose();
  17. }
  18. base.Dispose(disposing);
  19. }
  20.  
  21. #region Kod generowany przez Projektanta formularzy systemu Windows
  22.  
  23. /// <summary>
  24. /// Metoda wymagana do obsługi projektanta — nie należy modyfikować
  25. /// jej zawartości w edytorze kodu.
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. this.btnNew = new System.Windows.Forms.Button();
  30. this.btnOpen = new System.Windows.Forms.Button();
  31. this.btnSaveAs = new System.Windows.Forms.Button();
  32. this.btnBold = new System.Windows.Forms.Button();
  33. this.btnItalic = new System.Windows.Forms.Button();
  34. this.btnUnderline = new System.Windows.Forms.Button();
  35. this.label1 = new System.Windows.Forms.Label();
  36. this.cmbFont = new System.Windows.Forms.ComboBox();
  37. this.cmbFontSize = new System.Windows.Forms.ComboBox();
  38. this.label2 = new System.Windows.Forms.Label();
  39. this.btnColor = new System.Windows.Forms.Button();
  40. this.pbColor = new System.Windows.Forms.PictureBox();
  41. this.rtbEditor = new System.Windows.Forms.RichTextBox();
  42. ((System.ComponentModel.ISupportInitialize)(this.pbColor)).BeginInit();
  43. this.SuspendLayout();
  44. //
  45. // btnNew
  46. //
  47. this.btnNew.Location = new System.Drawing.Point(12, 12);
  48. this.btnNew.Name = "btnNew";
  49. this.btnNew.Size = new System.Drawing.Size(75, 23);
  50. this.btnNew.TabIndex = 0;
  51. this.btnNew.Text = "New";
  52. this.btnNew.UseVisualStyleBackColor = true;
  53. //
  54. // btnOpen
  55. //
  56. this.btnOpen.Location = new System.Drawing.Point(93, 12);
  57. this.btnOpen.Name = "btnOpen";
  58. this.btnOpen.Size = new System.Drawing.Size(75, 23);
  59. this.btnOpen.TabIndex = 1;
  60. this.btnOpen.Text = "Open";
  61. this.btnOpen.UseVisualStyleBackColor = true;
  62. //
  63. // btnSaveAs
  64. //
  65. this.btnSaveAs.Location = new System.Drawing.Point(174, 12);
  66. this.btnSaveAs.Name = "btnSaveAs";
  67. this.btnSaveAs.Size = new System.Drawing.Size(75, 23);
  68. this.btnSaveAs.TabIndex = 2;
  69. this.btnSaveAs.Text = "Save As";
  70. this.btnSaveAs.UseVisualStyleBackColor = true;
  71. //
  72. // btnBold
  73. //
  74. this.btnBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
  75. this.btnBold.Location = new System.Drawing.Point(13, 42);
  76. this.btnBold.Name = "btnBold";
  77. this.btnBold.Size = new System.Drawing.Size(23, 23);
  78. this.btnBold.TabIndex = 3;
  79. this.btnBold.Text = "B";
  80. this.btnBold.UseVisualStyleBackColor = true;
  81. //
  82. // btnItalic
  83. //
  84. this.btnItalic.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
  85. this.btnItalic.Location = new System.Drawing.Point(42, 42);
  86. this.btnItalic.Name = "btnItalic";
  87. this.btnItalic.Size = new System.Drawing.Size(23, 23);
  88. this.btnItalic.TabIndex = 4;
  89. this.btnItalic.Text = "I";
  90. this.btnItalic.UseVisualStyleBackColor = true;
  91. //
  92. // btnUnderline
  93. //
  94. this.btnUnderline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
  95. this.btnUnderline.Location = new System.Drawing.Point(71, 42);
  96. this.btnUnderline.Name = "btnUnderline";
  97. this.btnUnderline.Size = new System.Drawing.Size(23, 23);
  98. this.btnUnderline.TabIndex = 5;
  99. this.btnUnderline.Text = "U";
  100. this.btnUnderline.UseVisualStyleBackColor = true;
  101. //
  102. // label1
  103. //
  104. this.label1.AutoSize = true;
  105. this.label1.Location = new System.Drawing.Point(114, 47);
  106. this.label1.Name = "label1";
  107. this.label1.Size = new System.Drawing.Size(28, 13);
  108. this.label1.TabIndex = 6;
  109. this.label1.Text = "Font";
  110. //
  111. // cmbFont
  112. //
  113. this.cmbFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  114. this.cmbFont.FormattingEnabled = true;
  115. this.cmbFont.Location = new System.Drawing.Point(148, 44);
  116. this.cmbFont.Name = "cmbFont";
  117. this.cmbFont.Size = new System.Drawing.Size(89, 21);
  118. this.cmbFont.TabIndex = 7;
  119. //
  120. // cmbFontSize
  121. //
  122. this.cmbFontSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  123. this.cmbFontSize.FormattingEnabled = true;
  124. this.cmbFontSize.Location = new System.Drawing.Point(294, 44);
  125. this.cmbFontSize.Name = "cmbFontSize";
  126. this.cmbFontSize.Size = new System.Drawing.Size(76, 21);
  127. this.cmbFontSize.TabIndex = 9;
  128. //
  129. // label2
  130. //
  131. this.label2.AutoSize = true;
  132. this.label2.Location = new System.Drawing.Point(243, 47);
  133. this.label2.Name = "label2";
  134. this.label2.Size = new System.Drawing.Size(51, 13);
  135. this.label2.TabIndex = 8;
  136. this.label2.Text = "Font Size";
  137. //
  138. // btnColor
  139. //
  140. this.btnColor.Location = new System.Drawing.Point(390, 42);
  141. this.btnColor.Name = "btnColor";
  142. this.btnColor.Size = new System.Drawing.Size(75, 23);
  143. this.btnColor.TabIndex = 10;
  144. this.btnColor.Text = "Color";
  145. this.btnColor.UseVisualStyleBackColor = true;
  146. //
  147. // pbColor
  148. //
  149. this.pbColor.Location = new System.Drawing.Point(471, 42);
  150. this.pbColor.Name = "pbColor";
  151. this.pbColor.Size = new System.Drawing.Size(25, 25);
  152. this.pbColor.TabIndex = 11;
  153. this.pbColor.TabStop = false;
  154. //
  155. // rtbEditor
  156. //
  157. this.rtbEditor.Location = new System.Drawing.Point(13, 72);
  158. this.rtbEditor.Name = "rtbEditor";
  159. this.rtbEditor.Size = new System.Drawing.Size(761, 366);
  160. this.rtbEditor.TabIndex = 12;
  161. this.rtbEditor.Text = "";
  162. //
  163. // Form1
  164. //
  165. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  166. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  167. this.ClientSize = new System.Drawing.Size(785, 453);
  168. this.Controls.Add(this.rtbEditor);
  169. this.Controls.Add(this.pbColor);
  170. this.Controls.Add(this.btnColor);
  171. this.Controls.Add(this.cmbFontSize);
  172. this.Controls.Add(this.label2);
  173. this.Controls.Add(this.cmbFont);
  174. this.Controls.Add(this.label1);
  175. this.Controls.Add(this.btnUnderline);
  176. this.Controls.Add(this.btnItalic);
  177. this.Controls.Add(this.btnBold);
  178. this.Controls.Add(this.btnSaveAs);
  179. this.Controls.Add(this.btnOpen);
  180. this.Controls.Add(this.btnNew);
  181. this.Name = "Form1";
  182. this.Text = "Mój Word";
  183. ((System.ComponentModel.ISupportInitialize)(this.pbColor)).EndInit();
  184. this.ResumeLayout(false);
  185. this.PerformLayout();
  186.  
  187. }
  188.  
  189. #endregion
  190.  
  191. private System.Windows.Forms.Button btnNew;
  192. private System.Windows.Forms.Button btnOpen;
  193. private System.Windows.Forms.Button btnSaveAs;
  194. private System.Windows.Forms.Button btnBold;
  195. private System.Windows.Forms.Button btnItalic;
  196. private System.Windows.Forms.Button btnUnderline;
  197. private System.Windows.Forms.Label label1;
  198. private System.Windows.Forms.ComboBox cmbFont;
  199. private System.Windows.Forms.ComboBox cmbFontSize;
  200. private System.Windows.Forms.Label label2;
  201. private System.Windows.Forms.Button btnColor;
  202. private System.Windows.Forms.PictureBox pbColor;
  203. private System.Windows.Forms.RichTextBox rtbEditor;
  204. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement