Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- partial class Form1
- {
- /// <summary>
- /// Wymagana zmienna projektanta.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Wyczyść wszystkie używane zasoby.
- /// </summary>
- /// <param name="disposing">prawda, jeżeli zarządzane zasoby powinny zostać zlikwidowane; Fałsz w przeciwnym wypadku.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Kod generowany przez Projektanta formularzy systemu Windows
- /// <summary>
- /// Metoda wymagana do obsługi projektanta — nie należy modyfikować
- /// jej zawartości w edytorze kodu.
- /// </summary>
- private void InitializeComponent()
- {
- this.btnNew = new System.Windows.Forms.Button();
- this.btnOpen = new System.Windows.Forms.Button();
- this.btnSaveAs = new System.Windows.Forms.Button();
- this.btnBold = new System.Windows.Forms.Button();
- this.btnItalic = new System.Windows.Forms.Button();
- this.btnUnderline = new System.Windows.Forms.Button();
- this.label1 = new System.Windows.Forms.Label();
- this.cmbFont = new System.Windows.Forms.ComboBox();
- this.cmbFontSize = new System.Windows.Forms.ComboBox();
- this.label2 = new System.Windows.Forms.Label();
- this.btnColor = new System.Windows.Forms.Button();
- this.pbColor = new System.Windows.Forms.PictureBox();
- this.rtbEditor = new System.Windows.Forms.RichTextBox();
- ((System.ComponentModel.ISupportInitialize)(this.pbColor)).BeginInit();
- this.SuspendLayout();
- //
- // btnNew
- //
- this.btnNew.Location = new System.Drawing.Point(12, 12);
- this.btnNew.Name = "btnNew";
- this.btnNew.Size = new System.Drawing.Size(75, 23);
- this.btnNew.TabIndex = 0;
- this.btnNew.Text = "New";
- this.btnNew.UseVisualStyleBackColor = true;
- //
- // btnOpen
- //
- this.btnOpen.Location = new System.Drawing.Point(93, 12);
- this.btnOpen.Name = "btnOpen";
- this.btnOpen.Size = new System.Drawing.Size(75, 23);
- this.btnOpen.TabIndex = 1;
- this.btnOpen.Text = "Open";
- this.btnOpen.UseVisualStyleBackColor = true;
- //
- // btnSaveAs
- //
- this.btnSaveAs.Location = new System.Drawing.Point(174, 12);
- this.btnSaveAs.Name = "btnSaveAs";
- this.btnSaveAs.Size = new System.Drawing.Size(75, 23);
- this.btnSaveAs.TabIndex = 2;
- this.btnSaveAs.Text = "Save As";
- this.btnSaveAs.UseVisualStyleBackColor = true;
- //
- // btnBold
- //
- this.btnBold.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.btnBold.Location = new System.Drawing.Point(13, 42);
- this.btnBold.Name = "btnBold";
- this.btnBold.Size = new System.Drawing.Size(23, 23);
- this.btnBold.TabIndex = 3;
- this.btnBold.Text = "B";
- this.btnBold.UseVisualStyleBackColor = true;
- //
- // btnItalic
- //
- this.btnItalic.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.btnItalic.Location = new System.Drawing.Point(42, 42);
- this.btnItalic.Name = "btnItalic";
- this.btnItalic.Size = new System.Drawing.Size(23, 23);
- this.btnItalic.TabIndex = 4;
- this.btnItalic.Text = "I";
- this.btnItalic.UseVisualStyleBackColor = true;
- //
- // btnUnderline
- //
- this.btnUnderline.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.btnUnderline.Location = new System.Drawing.Point(71, 42);
- this.btnUnderline.Name = "btnUnderline";
- this.btnUnderline.Size = new System.Drawing.Size(23, 23);
- this.btnUnderline.TabIndex = 5;
- this.btnUnderline.Text = "U";
- this.btnUnderline.UseVisualStyleBackColor = true;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(114, 47);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(28, 13);
- this.label1.TabIndex = 6;
- this.label1.Text = "Font";
- //
- // cmbFont
- //
- this.cmbFont.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbFont.FormattingEnabled = true;
- this.cmbFont.Location = new System.Drawing.Point(148, 44);
- this.cmbFont.Name = "cmbFont";
- this.cmbFont.Size = new System.Drawing.Size(89, 21);
- this.cmbFont.TabIndex = 7;
- //
- // cmbFontSize
- //
- this.cmbFontSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbFontSize.FormattingEnabled = true;
- this.cmbFontSize.Location = new System.Drawing.Point(294, 44);
- this.cmbFontSize.Name = "cmbFontSize";
- this.cmbFontSize.Size = new System.Drawing.Size(76, 21);
- this.cmbFontSize.TabIndex = 9;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(243, 47);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(51, 13);
- this.label2.TabIndex = 8;
- this.label2.Text = "Font Size";
- //
- // btnColor
- //
- this.btnColor.Location = new System.Drawing.Point(390, 42);
- this.btnColor.Name = "btnColor";
- this.btnColor.Size = new System.Drawing.Size(75, 23);
- this.btnColor.TabIndex = 10;
- this.btnColor.Text = "Color";
- this.btnColor.UseVisualStyleBackColor = true;
- //
- // pbColor
- //
- this.pbColor.Location = new System.Drawing.Point(471, 42);
- this.pbColor.Name = "pbColor";
- this.pbColor.Size = new System.Drawing.Size(25, 25);
- this.pbColor.TabIndex = 11;
- this.pbColor.TabStop = false;
- //
- // rtbEditor
- //
- this.rtbEditor.Location = new System.Drawing.Point(13, 72);
- this.rtbEditor.Name = "rtbEditor";
- this.rtbEditor.Size = new System.Drawing.Size(761, 366);
- this.rtbEditor.TabIndex = 12;
- this.rtbEditor.Text = "";
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(785, 453);
- this.Controls.Add(this.rtbEditor);
- this.Controls.Add(this.pbColor);
- this.Controls.Add(this.btnColor);
- this.Controls.Add(this.cmbFontSize);
- this.Controls.Add(this.label2);
- this.Controls.Add(this.cmbFont);
- this.Controls.Add(this.label1);
- this.Controls.Add(this.btnUnderline);
- this.Controls.Add(this.btnItalic);
- this.Controls.Add(this.btnBold);
- this.Controls.Add(this.btnSaveAs);
- this.Controls.Add(this.btnOpen);
- this.Controls.Add(this.btnNew);
- this.Name = "Form1";
- this.Text = "Mój Word";
- ((System.ComponentModel.ISupportInitialize)(this.pbColor)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- #endregion
- private System.Windows.Forms.Button btnNew;
- private System.Windows.Forms.Button btnOpen;
- private System.Windows.Forms.Button btnSaveAs;
- private System.Windows.Forms.Button btnBold;
- private System.Windows.Forms.Button btnItalic;
- private System.Windows.Forms.Button btnUnderline;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.ComboBox cmbFont;
- private System.Windows.Forms.ComboBox cmbFontSize;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Button btnColor;
- private System.Windows.Forms.PictureBox pbColor;
- private System.Windows.Forms.RichTextBox rtbEditor;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement