/
comavp
/
CSharp
Обзор
Документация
Войти
/
comavp
/
CSharp
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
text-editor/TextEditor/MainForm.Designer.cs
200 строк
9 KB
comavp
Add text-editor
22 авг 2022, 21:26
22 авг 2022, 21:26
04e0cd9
Код
Авторство
О чём код?
namespace TextEditor { partial class MainForm { /// <summary> /// Требуется переменная конструктора. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Освободить все используемые ресурсы. /// </summary> /// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Код, автоматически созданный конструктором форм Windows /// <summary> /// Обязательный метод для поддержки конструктора - не изменяйте /// содержимое данного метода при помощи редактора кода. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.fldFilePath = new System.Windows.Forms.TextBox(); this.SelectFile = new System.Windows.Forms.Button(); this.OpenFile = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.numFont = new System.Windows.Forms.NumericUpDown(); this.fldContent = new System.Windows.Forms.TextBox(); this.SaveContent = new System.Windows.Forms.Button(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.lblSymvolCount = new System.Windows.Forms.ToolStripStatusLabel(); ((System.ComponentModel.ISupportInitialize)(this.numFont)).BeginInit(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(24, 26); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(86, 13); this.label1.TabIndex = 0; this.label1.Text = "Выберите файл"; // // fldFilePath // this.fldFilePath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.fldFilePath.Location = new System.Drawing.Point(116, 19); this.fldFilePath.Name = "fldFilePath"; this.fldFilePath.Size = new System.Drawing.Size(410, 20); this.fldFilePath.TabIndex = 1; // // SelectFile // this.SelectFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.SelectFile.Location = new System.Drawing.Point(553, 16); this.SelectFile.Name = "SelectFile"; this.SelectFile.Size = new System.Drawing.Size(75, 23); this.SelectFile.TabIndex = 2; this.SelectFile.Text = "Выбрать"; this.SelectFile.UseVisualStyleBackColor = true; // // OpenFile // this.OpenFile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.OpenFile.Location = new System.Drawing.Point(652, 16); this.OpenFile.Name = "OpenFile"; this.OpenFile.Size = new System.Drawing.Size(75, 23); this.OpenFile.TabIndex = 3; this.OpenFile.Text = "Открыть"; this.OpenFile.UseVisualStyleBackColor = true; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(24, 57); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(41, 13); this.label2.TabIndex = 4; this.label2.Text = "Шрифт"; // // numFont // this.numFont.Location = new System.Drawing.Point(116, 50); this.numFont.Maximum = new decimal(new int[] { 72, 0, 0, 0}); this.numFont.Minimum = new decimal(new int[] { 6, 0, 0, 0}); this.numFont.Name = "numFont"; this.numFont.Size = new System.Drawing.Size(120, 20); this.numFont.TabIndex = 5; this.numFont.Value = new decimal(new int[] { 11, 0, 0, 0}); // // fldContent // this.fldContent.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.fldContent.Location = new System.Drawing.Point(27, 86); this.fldContent.Multiline = true; this.fldContent.Name = "fldContent"; this.fldContent.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.fldContent.Size = new System.Drawing.Size(700, 276); this.fldContent.TabIndex = 6; // // SaveContent // this.SaveContent.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.SaveContent.Location = new System.Drawing.Point(652, 368); this.SaveContent.Name = "SaveContent"; this.SaveContent.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.SaveContent.Size = new System.Drawing.Size(75, 23); this.SaveContent.TabIndex = 7; this.SaveContent.Text = "Сохранить"; this.SaveContent.UseMnemonic = false; this.SaveContent.UseVisualStyleBackColor = true; // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1, this.lblSymvolCount}); this.statusStrip1.Location = new System.Drawing.Point(0, 409); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(764, 22); this.statusStrip1.TabIndex = 8; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(130, 17); this.toolStripStatusLabel1.Text = "Количество символов"; // // lblSymvolCount // this.lblSymvolCount.AutoToolTip = true; this.lblSymvolCount.Name = "lblSymvolCount"; this.lblSymvolCount.Size = new System.Drawing.Size(0, 17); // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(764, 431); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.SaveContent); this.Controls.Add(this.fldContent); this.Controls.Add(this.numFont); this.Controls.Add(this.label2); this.Controls.Add(this.OpenFile); this.Controls.Add(this.SelectFile); this.Controls.Add(this.fldFilePath); this.Controls.Add(this.label1); this.Name = "MainForm"; this.Text = "Текстовый редактор"; ((System.ComponentModel.ISupportInitialize)(this.numFont)).EndInit(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.TextBox fldFilePath; private System.Windows.Forms.Button SelectFile; private System.Windows.Forms.Button OpenFile; private System.Windows.Forms.Label label2; private System.Windows.Forms.NumericUpDown numFont; private System.Windows.Forms.TextBox fldContent; private System.Windows.Forms.Button SaveContent; private System.Windows.Forms.StatusStrip statusStrip1; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; private System.Windows.Forms.ToolStripStatusLabel lblSymvolCount; } }