Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof (EditorForm));
     this.sbEdit = new SourceBox();
     this.panel1 = new System.Windows.Forms.Panel();
     this.label1 = new System.Windows.Forms.Label();
     this.button2 = new System.Windows.Forms.Button();
     this.button1 = new System.Windows.Forms.Button();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // sbEdit
     //
     this.sbEdit.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.sbEdit.Location = new System.Drawing.Point(8, 32);
     this.sbEdit.Name = "sbEdit";
     this.sbEdit.Size = new System.Drawing.Size(720, 416);
     this.sbEdit.TabIndex = 0;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.button2);
     this.panel1.Controls.Add(this.button1);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(736, 32);
     this.panel1.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(232, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(160, 23);
     this.label1.TabIndex = 2;
     //
     // button2
     //
     this.button2.Location = new System.Drawing.Point(112, 0);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(112, 24);
     this.button2.TabIndex = 1;
     this.button2.Text = "Выход";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(0, 0);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(112, 24);
     this.button1.TabIndex = 0;
     this.button1.Text = "Сохранить";
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // timer1
     //
     this.timer1.Enabled = true;
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // EditorForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(736, 453);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.sbEdit);
     this.Icon = ((System.Drawing.Icon) (resources.GetObject("$this.Icon")));
     this.Name = "EditorForm";
     this.Text = "Editor";
     this.Closing += new System.ComponentModel.CancelEventHandler(this.EditorForm_Closing);
     this.Closed += new System.EventHandler(this.EditorForm_Closed);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #2
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditorForm));
            this.Info = new System.Windows.Forms.Label();
            this.CloseBtn = new System.Windows.Forms.Button();
            this.SaveBtn = new System.Windows.Forms.Button();
            this.timer = new System.Windows.Forms.Timer(this.components);
            this.Panel = new System.Windows.Forms.Panel();
            this.sbEdit = new interpr.SourceBox();
            this.Panel.SuspendLayout();
            this.SuspendLayout();
            // 
            // Info
            // 
            this.Info.Dock = System.Windows.Forms.DockStyle.Right;
            this.Info.Location = new System.Drawing.Point(552, 0);
            this.Info.Margin = new System.Windows.Forms.Padding(3);
            this.Info.Name = "Info";
            this.Info.Size = new System.Drawing.Size(237, 24);
            this.Info.TabIndex = 2;
            this.Info.TextAlign = System.Drawing.ContentAlignment.BottomRight;
            // 
            // CloseBtn
            // 
            this.CloseBtn.Cursor = System.Windows.Forms.Cursors.Hand;
            this.CloseBtn.Dock = System.Windows.Forms.DockStyle.Left;
            this.CloseBtn.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.CloseBtn.Location = new System.Drawing.Point(85, 0);
            this.CloseBtn.Margin = new System.Windows.Forms.Padding(6, 3, 6, 3);
            this.CloseBtn.Name = "CloseBtn";
            this.CloseBtn.Padding = new System.Windows.Forms.Padding(3, 0, 0, 0);
            this.CloseBtn.Size = new System.Drawing.Size(78, 24);
            this.CloseBtn.TabIndex = 1;
            this.CloseBtn.Text = "Закрыть";
            this.CloseBtn.Click += new System.EventHandler(this.CloseBtn_Click);
            // 
            // SaveBtn
            // 
            this.SaveBtn.Cursor = System.Windows.Forms.Cursors.Hand;
            this.SaveBtn.Dock = System.Windows.Forms.DockStyle.Left;
            this.SaveBtn.FlatStyle = System.Windows.Forms.FlatStyle.System;
            this.SaveBtn.Location = new System.Drawing.Point(1, 0);
            this.SaveBtn.Name = "SaveBtn";
            this.SaveBtn.Size = new System.Drawing.Size(84, 24);
            this.SaveBtn.TabIndex = 0;
            this.SaveBtn.Text = "Сохранить";
            this.SaveBtn.Click += new System.EventHandler(this.SaveBtn_Click);
            // 
            // timer
            // 
            this.timer.Enabled = true;
            this.timer.Tick += new System.EventHandler(this.timer_Tick);
            // 
            // Panel
            // 
            this.Panel.Controls.Add(this.Info);
            this.Panel.Controls.Add(this.CloseBtn);
            this.Panel.Controls.Add(this.SaveBtn);
            this.Panel.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.Panel.Location = new System.Drawing.Point(0, 445);
            this.Panel.Name = "Panel";
            this.Panel.Padding = new System.Windows.Forms.Padding(1, 0, 1, 1);
            this.Panel.Size = new System.Drawing.Size(790, 25);
            this.Panel.TabIndex = 1;
            // 
            // sbEdit
            // 
            this.sbEdit.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.sbEdit.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
            this.sbEdit.ForeColor = System.Drawing.Color.White;
            this.sbEdit.Location = new System.Drawing.Point(0, 0);
            this.sbEdit.Name = "sbEdit";
            this.sbEdit.Padding = new System.Windows.Forms.Padding(1, 2, 1, 1);
            this.sbEdit.Size = new System.Drawing.Size(790, 439);
            this.sbEdit.TabIndex = 0;
            // 
            // EditorForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(790, 470);
            this.Controls.Add(this.Panel);
            this.Controls.Add(this.sbEdit);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.MinimumSize = new System.Drawing.Size(480, 320);
            this.Name = "EditorForm";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Closing += new System.ComponentModel.CancelEventHandler(this.EditorForm_Closing);
            this.Closed += new System.EventHandler(this.EditorForm_Closed);
            this.Panel.ResumeLayout(false);
            this.ResumeLayout(false);

        }