Пример #1
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            this.txtCode = new PaintDotNet.Effects.CodeEditor();
            this.grpCode = new System.Windows.Forms.GroupBox();
            this.btnOK = new System.Windows.Forms.Button();
            this.btnCancel = new System.Windows.Forms.Button();
            this.btnBuild = new System.Windows.Forms.Button();
            this.listErrors = new System.Windows.Forms.ListBox();
            this.toolTips = new System.Windows.Forms.ToolTip(this.components);
            this.btnLoad = new System.Windows.Forms.Button();
            this.btnSave = new System.Windows.Forms.Button();
            this.btnClear = new System.Windows.Forms.Button();
            this.tmrExceptionCheck = new System.Windows.Forms.Timer(this.components);
            this.btnBuildDLL = new System.Windows.Forms.Button();
            this.txtScriptName = new System.Windows.Forms.TextBox();
            this.lblScriptName = new System.Windows.Forms.Label();
            this.grpCode.SuspendLayout();
            this.SuspendLayout();
            // 
            // txtCode
            // 
            this.txtCode.AcceptsReturn = true;
            this.txtCode.AcceptsTab = true;
            this.txtCode.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.txtCode.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.txtCode.HideSelection = false;
            this.txtCode.Location = new System.Drawing.Point(8, 16);
            this.txtCode.Multiline = true;
            this.txtCode.Name = "txtCode";
            this.txtCode.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.txtCode.Size = new System.Drawing.Size(510, 262);
            this.txtCode.TabIndex = 0;
            this.txtCode.CompileTimeHint += new System.EventHandler(this.txtCode_CompileTimeHint);
            // 
            // grpCode
            // 
            this.grpCode.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.grpCode.Controls.Add(this.txtCode);
            this.grpCode.Location = new System.Drawing.Point(8, 32);
            this.grpCode.Name = "grpCode";
            this.grpCode.Size = new System.Drawing.Size(528, 286);
            this.grpCode.TabIndex = 2;
            this.grpCode.TabStop = false;
            this.grpCode.Text = "C# Code:";
            // 
            // btnOK
            // 
            this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
            this.btnOK.Location = new System.Drawing.Point(473, 326);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(64, 24);
            this.btnOK.TabIndex = 7;
            this.btnOK.Text = "&OK";
            // 
            // btnCancel
            // 
            this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
            this.btnCancel.Location = new System.Drawing.Point(473, 358);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(64, 24);
            this.btnCancel.TabIndex = 8;
            this.btnCancel.Text = "&Cancel";
            // 
            // btnBuild
            // 
            this.btnBuild.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnBuild.Location = new System.Drawing.Point(473, 8);
            this.btnBuild.Name = "btnBuild";
            this.btnBuild.Size = new System.Drawing.Size(64, 23);
            this.btnBuild.TabIndex = 6;
            this.btnBuild.Text = "&Build";
            this.btnBuild.Click += new System.EventHandler(this.btnBuild_Click);
            // 
            // listErrors
            // 
            this.listErrors.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.listErrors.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.listErrors.ItemHeight = 16;
            this.listErrors.Items.AddRange(new object[] {
            "Click \'Build\'"});
            this.listErrors.Location = new System.Drawing.Point(8, 328);
            this.listErrors.Name = "listErrors";
            this.listErrors.Size = new System.Drawing.Size(456, 52);
            this.listErrors.TabIndex = 0;
            this.listErrors.SelectedIndexChanged += new System.EventHandler(this.listErrors_SelectedIndexChanged);
            // 
            // btnLoad
            // 
            this.btnLoad.Location = new System.Drawing.Point(232, 8);
            this.btnLoad.Name = "btnLoad";
            this.btnLoad.Size = new System.Drawing.Size(80, 23);
            this.btnLoad.TabIndex = 3;
            this.btnLoad.Text = "&Load Source";
            this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click);
            // 
            // btnSave
            // 
            this.btnSave.Location = new System.Drawing.Point(144, 8);
            this.btnSave.Name = "btnSave";
            this.btnSave.Size = new System.Drawing.Size(80, 23);
            this.btnSave.TabIndex = 2;
            this.btnSave.Text = "&Save Source";
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // btnClear
            // 
            this.btnClear.Location = new System.Drawing.Point(320, 8);
            this.btnClear.Name = "btnClear";
            this.btnClear.Size = new System.Drawing.Size(48, 23);
            this.btnClear.TabIndex = 4;
            this.btnClear.Text = "C&lear";
            this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
            // 
            // tmrExceptionCheck
            // 
            this.tmrExceptionCheck.Enabled = true;
            this.tmrExceptionCheck.Tick += new System.EventHandler(this.tmrExceptionCheck_Tick);
            // 
            // btnBuildDLL
            // 
            this.btnBuildDLL.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnBuildDLL.Location = new System.Drawing.Point(393, 8);
            this.btnBuildDLL.Name = "btnBuildDLL";
            this.btnBuildDLL.Size = new System.Drawing.Size(72, 23);
            this.btnBuildDLL.TabIndex = 5;
            this.btnBuildDLL.Text = "Make &DLL";
            this.btnBuildDLL.Click += new System.EventHandler(this.btnSaveDLL_Click);
            // 
            // txtScriptName
            // 
            this.txtScriptName.Location = new System.Drawing.Point(48, 8);
            this.txtScriptName.Name = "txtScriptName";
            this.txtScriptName.Size = new System.Drawing.Size(88, 20);
            this.txtScriptName.TabIndex = 1;
            this.txtScriptName.Text = "MyCode";
            // 
            // lblScriptName
            // 
            this.lblScriptName.Location = new System.Drawing.Point(8, 8);
            this.lblScriptName.Name = "lblScriptName";
            this.lblScriptName.Size = new System.Drawing.Size(40, 20);
            this.lblScriptName.TabIndex = 8;
            this.lblScriptName.Text = "Name:";
            this.lblScriptName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // CodeLabConfigDialog
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
            this.ClientSize = new System.Drawing.Size(544, 389);
            this.Controls.Add(this.lblScriptName);
            this.Controls.Add(this.txtScriptName);
            this.Controls.Add(this.btnBuildDLL);
            this.Controls.Add(this.btnSave);
            this.Controls.Add(this.btnLoad);
            this.Controls.Add(this.btnOK);
            this.Controls.Add(this.grpCode);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnBuild);
            this.Controls.Add(this.btnClear);
            this.Controls.Add(this.listErrors);
            this.MinimumSize = new System.Drawing.Size(535, 200);
            this.AcceptButton = this.btnOK;
            this.CancelButton = this.btnCancel;
            this.Name = "CodeLabConfigDialog";
            this.Text = "Code Lab (Alpha)";
            this.Controls.SetChildIndex(this.listErrors, 0);
            this.Controls.SetChildIndex(this.btnClear, 0);
            this.Controls.SetChildIndex(this.btnBuild, 0);
            this.Controls.SetChildIndex(this.btnCancel, 0);
            this.Controls.SetChildIndex(this.grpCode, 0);
            this.Controls.SetChildIndex(this.btnOK, 0);
            this.Controls.SetChildIndex(this.btnLoad, 0);
            this.Controls.SetChildIndex(this.btnSave, 0);
            this.Controls.SetChildIndex(this.btnBuildDLL, 0);
            this.Controls.SetChildIndex(this.txtScriptName, 0);
            this.Controls.SetChildIndex(this.lblScriptName, 0);
            this.grpCode.ResumeLayout(false);
            this.grpCode.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }