Advertisement
ncosentino

IronPython: WinForms Introduction - MainForm.Designer.cs

Apr 6th, 2014
1,038
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 14.62 KB | None | 0 0
  1. /**
  2.  * Blog Post:
  3.  * http://devleader.ca/2014/04/07/ironpython-quick-winforms-introduction
  4.  *
  5.  * MainForm.Designer.cs: http://pastebin.com/chaBwVTY
  6.  * MainForm.cs: http://pastebin.com/29w3Bw6C
  7.  */
  8. namespace DevLeader.IronPython.WinForms
  9. {
  10.     partial class MainForm
  11.     {
  12.         /// <summary>
  13.         /// Required designer variable.
  14.         /// </summary>
  15.         private System.ComponentModel.IContainer components = null;
  16.  
  17.         /// <summary>
  18.         /// Clean up any resources being used.
  19.         /// </summary>
  20.         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  21.         protected override void Dispose(bool disposing)
  22.         {
  23.             if (disposing && (components != null))
  24.             {
  25.                 components.Dispose();
  26.             }
  27.             base.Dispose(disposing);
  28.         }
  29.  
  30.         #region Windows Form Designer generated code
  31.  
  32.         /// <summary>
  33.         /// Required method for Designer support - do not modify
  34.         /// the contents of this method with the code editor.
  35.         /// </summary>
  36.         private void InitializeComponent()
  37.         {
  38.             this.grpInput = new System.Windows.Forms.GroupBox();
  39.             this.tlpInputLayout = new System.Windows.Forms.TableLayoutPanel();
  40.             this.txtInputScriptPath = new System.Windows.Forms.TextBox();
  41.             this.radInputFromFile = new System.Windows.Forms.RadioButton();
  42.             this.radInputFromForm = new System.Windows.Forms.RadioButton();
  43.             this.txtInputScript = new System.Windows.Forms.TextBox();
  44.             this.cmdBrowseScript = new System.Windows.Forms.Button();
  45.             this.grpOutput = new System.Windows.Forms.GroupBox();
  46.             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
  47.             this.cmdClearOutput = new System.Windows.Forms.Button();
  48.             this.txtOutput = new System.Windows.Forms.TextBox();
  49.             this.spcInputOutput = new System.Windows.Forms.SplitContainer();
  50.             this.tlpMainLayout = new System.Windows.Forms.TableLayoutPanel();
  51.             this.cmdRunScript = new System.Windows.Forms.Button();
  52.             this.grpInput.SuspendLayout();
  53.             this.tlpInputLayout.SuspendLayout();
  54.             this.grpOutput.SuspendLayout();
  55.             this.tableLayoutPanel1.SuspendLayout();
  56.             ((System.ComponentModel.ISupportInitialize)(this.spcInputOutput)).BeginInit();
  57.             this.spcInputOutput.Panel1.SuspendLayout();
  58.             this.spcInputOutput.Panel2.SuspendLayout();
  59.             this.spcInputOutput.SuspendLayout();
  60.             this.tlpMainLayout.SuspendLayout();
  61.             this.SuspendLayout();
  62.             //
  63.             // grpInput
  64.             //
  65.             this.grpInput.Controls.Add(this.tlpInputLayout);
  66.             this.grpInput.Dock = System.Windows.Forms.DockStyle.Fill;
  67.             this.grpInput.Location = new System.Drawing.Point(0, 0);
  68.             this.grpInput.Name = "grpInput";
  69.             this.grpInput.Size = new System.Drawing.Size(652, 186);
  70.             this.grpInput.TabIndex = 0;
  71.             this.grpInput.TabStop = false;
  72.             this.grpInput.Text = "Input";
  73.             //
  74.             // tlpInputLayout
  75.             //
  76.             this.tlpInputLayout.ColumnCount = 3;
  77.             this.tlpInputLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
  78.             this.tlpInputLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
  79.             this.tlpInputLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
  80.             this.tlpInputLayout.Controls.Add(this.txtInputScriptPath, 1, 0);
  81.             this.tlpInputLayout.Controls.Add(this.radInputFromFile, 0, 0);
  82.             this.tlpInputLayout.Controls.Add(this.radInputFromForm, 0, 1);
  83.             this.tlpInputLayout.Controls.Add(this.txtInputScript, 1, 1);
  84.             this.tlpInputLayout.Controls.Add(this.cmdBrowseScript, 2, 0);
  85.             this.tlpInputLayout.Dock = System.Windows.Forms.DockStyle.Fill;
  86.             this.tlpInputLayout.Location = new System.Drawing.Point(3, 16);
  87.             this.tlpInputLayout.Name = "tlpInputLayout";
  88.             this.tlpInputLayout.RowCount = 2;
  89.             this.tlpInputLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
  90.             this.tlpInputLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
  91.             this.tlpInputLayout.Size = new System.Drawing.Size(646, 167);
  92.             this.tlpInputLayout.TabIndex = 0;
  93.             //
  94.             // txtInputScriptPath
  95.             //
  96.             this.txtInputScriptPath.Dock = System.Windows.Forms.DockStyle.Fill;
  97.             this.txtInputScriptPath.Enabled = false;
  98.             this.txtInputScriptPath.Location = new System.Drawing.Point(99, 3);
  99.             this.txtInputScriptPath.Name = "txtInputScriptPath";
  100.             this.txtInputScriptPath.Size = new System.Drawing.Size(463, 20);
  101.             this.txtInputScriptPath.TabIndex = 3;
  102.             //
  103.             // radInputFromFile
  104.             //
  105.             this.radInputFromFile.AutoSize = true;
  106.             this.radInputFromFile.Location = new System.Drawing.Point(3, 3);
  107.             this.radInputFromFile.Name = "radInputFromFile";
  108.             this.radInputFromFile.Size = new System.Drawing.Size(67, 17);
  109.             this.radInputFromFile.TabIndex = 0;
  110.             this.radInputFromFile.Text = "From File";
  111.             this.radInputFromFile.UseVisualStyleBackColor = true;
  112.             this.radInputFromFile.CheckedChanged += new System.EventHandler(this.RadInputFromFile_CheckedChanged);
  113.             //
  114.             // radInputFromForm
  115.             //
  116.             this.radInputFromForm.AutoSize = true;
  117.             this.radInputFromForm.Location = new System.Drawing.Point(3, 32);
  118.             this.radInputFromForm.Name = "radInputFromForm";
  119.             this.radInputFromForm.Size = new System.Drawing.Size(90, 17);
  120.             this.radInputFromForm.TabIndex = 1;
  121.             this.radInputFromForm.Text = "Custom Script";
  122.             this.radInputFromForm.UseVisualStyleBackColor = true;
  123.             this.radInputFromForm.CheckedChanged += new System.EventHandler(this.RadInputFromForm_CheckedChanged);
  124.             //
  125.             // txtInputScript
  126.             //
  127.             this.tlpInputLayout.SetColumnSpan(this.txtInputScript, 2);
  128.             this.txtInputScript.Dock = System.Windows.Forms.DockStyle.Fill;
  129.             this.txtInputScript.Enabled = false;
  130.             this.txtInputScript.Location = new System.Drawing.Point(99, 32);
  131.             this.txtInputScript.Multiline = true;
  132.             this.txtInputScript.Name = "txtInputScript";
  133.             this.txtInputScript.Size = new System.Drawing.Size(544, 132);
  134.             this.txtInputScript.TabIndex = 2;
  135.             //
  136.             // cmdBrowseScript
  137.             //
  138.             this.cmdBrowseScript.Enabled = false;
  139.             this.cmdBrowseScript.Location = new System.Drawing.Point(568, 3);
  140.             this.cmdBrowseScript.Name = "cmdBrowseScript";
  141.             this.cmdBrowseScript.Size = new System.Drawing.Size(75, 23);
  142.             this.cmdBrowseScript.TabIndex = 4;
  143.             this.cmdBrowseScript.Text = "Browse...";
  144.             this.cmdBrowseScript.UseVisualStyleBackColor = true;
  145.             this.cmdBrowseScript.Click += new System.EventHandler(this.CmdBrowseScript_Click);
  146.             //
  147.             // grpOutput
  148.             //
  149.             this.grpOutput.Controls.Add(this.tableLayoutPanel1);
  150.             this.grpOutput.Dock = System.Windows.Forms.DockStyle.Fill;
  151.             this.grpOutput.Location = new System.Drawing.Point(0, 0);
  152.             this.grpOutput.Name = "grpOutput";
  153.             this.grpOutput.Size = new System.Drawing.Size(652, 218);
  154.             this.grpOutput.TabIndex = 1;
  155.             this.grpOutput.TabStop = false;
  156.             this.grpOutput.Text = "Output";
  157.             //
  158.             // tableLayoutPanel1
  159.             //
  160.             this.tableLayoutPanel1.ColumnCount = 1;
  161.             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
  162.             this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
  163.             this.tableLayoutPanel1.Controls.Add(this.cmdClearOutput, 0, 0);
  164.             this.tableLayoutPanel1.Controls.Add(this.txtOutput, 0, 1);
  165.             this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  166.             this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 16);
  167.             this.tableLayoutPanel1.Name = "tableLayoutPanel1";
  168.             this.tableLayoutPanel1.RowCount = 2;
  169.             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
  170.             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
  171.             this.tableLayoutPanel1.Size = new System.Drawing.Size(646, 199);
  172.             this.tableLayoutPanel1.TabIndex = 0;
  173.             //
  174.             // cmdClearOutput
  175.             //
  176.             this.cmdClearOutput.Location = new System.Drawing.Point(3, 3);
  177.             this.cmdClearOutput.Name = "cmdClearOutput";
  178.             this.cmdClearOutput.Size = new System.Drawing.Size(75, 23);
  179.             this.cmdClearOutput.TabIndex = 0;
  180.             this.cmdClearOutput.Text = "Clear";
  181.             this.cmdClearOutput.UseVisualStyleBackColor = true;
  182.             this.cmdClearOutput.Click += new System.EventHandler(this.CmdClearOutput_Click);
  183.             //
  184.             // txtOutput
  185.             //
  186.             this.txtOutput.BackColor = System.Drawing.Color.Black;
  187.             this.txtOutput.Dock = System.Windows.Forms.DockStyle.Fill;
  188.             this.txtOutput.ForeColor = System.Drawing.Color.White;
  189.             this.txtOutput.Location = new System.Drawing.Point(3, 32);
  190.             this.txtOutput.Multiline = true;
  191.             this.txtOutput.Name = "txtOutput";
  192.             this.txtOutput.ReadOnly = true;
  193.             this.txtOutput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
  194.             this.txtOutput.Size = new System.Drawing.Size(640, 164);
  195.             this.txtOutput.TabIndex = 2;
  196.             //
  197.             // spcInputOutput
  198.             //
  199.             this.spcInputOutput.Dock = System.Windows.Forms.DockStyle.Fill;
  200.             this.spcInputOutput.Location = new System.Drawing.Point(3, 3);
  201.             this.spcInputOutput.Name = "spcInputOutput";
  202.             this.spcInputOutput.Orientation = System.Windows.Forms.Orientation.Horizontal;
  203.             //
  204.             // spcInputOutput.Panel1
  205.             //
  206.             this.spcInputOutput.Panel1.Controls.Add(this.grpInput);
  207.             //
  208.             // spcInputOutput.Panel2
  209.             //
  210.             this.spcInputOutput.Panel2.Controls.Add(this.grpOutput);
  211.             this.spcInputOutput.Size = new System.Drawing.Size(652, 408);
  212.             this.spcInputOutput.SplitterDistance = 186;
  213.             this.spcInputOutput.TabIndex = 1;
  214.             //
  215.             // tlpMainLayout
  216.             //
  217.             this.tlpMainLayout.ColumnCount = 1;
  218.             this.tlpMainLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
  219.             this.tlpMainLayout.Controls.Add(this.spcInputOutput, 0, 0);
  220.             this.tlpMainLayout.Controls.Add(this.cmdRunScript, 0, 1);
  221.             this.tlpMainLayout.Dock = System.Windows.Forms.DockStyle.Fill;
  222.             this.tlpMainLayout.Location = new System.Drawing.Point(0, 0);
  223.             this.tlpMainLayout.Name = "tlpMainLayout";
  224.             this.tlpMainLayout.RowCount = 2;
  225.             this.tlpMainLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
  226.             this.tlpMainLayout.RowStyles.Add(new System.Windows.Forms.RowStyle());
  227.             this.tlpMainLayout.Size = new System.Drawing.Size(658, 443);
  228.             this.tlpMainLayout.TabIndex = 2;
  229.             //
  230.             // cmdRunScript
  231.             //
  232.             this.cmdRunScript.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  233.             this.cmdRunScript.Location = new System.Drawing.Point(580, 417);
  234.             this.cmdRunScript.Name = "cmdRunScript";
  235.             this.cmdRunScript.Size = new System.Drawing.Size(75, 23);
  236.             this.cmdRunScript.TabIndex = 2;
  237.             this.cmdRunScript.Text = "Run Script";
  238.             this.cmdRunScript.UseVisualStyleBackColor = true;
  239.             this.cmdRunScript.Click += new System.EventHandler(this.CmdRunScript_Click);
  240.             //
  241.             // MainForm
  242.             //
  243.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  244.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  245.             this.ClientSize = new System.Drawing.Size(658, 443);
  246.             this.Controls.Add(this.tlpMainLayout);
  247.             this.Name = "MainForm";
  248.             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  249.             this.Text = "Python Example";
  250.             this.grpInput.ResumeLayout(false);
  251.             this.tlpInputLayout.ResumeLayout(false);
  252.             this.tlpInputLayout.PerformLayout();
  253.             this.grpOutput.ResumeLayout(false);
  254.             this.tableLayoutPanel1.ResumeLayout(false);
  255.             this.tableLayoutPanel1.PerformLayout();
  256.             this.spcInputOutput.Panel1.ResumeLayout(false);
  257.             this.spcInputOutput.Panel2.ResumeLayout(false);
  258.             ((System.ComponentModel.ISupportInitialize)(this.spcInputOutput)).EndInit();
  259.             this.spcInputOutput.ResumeLayout(false);
  260.             this.tlpMainLayout.ResumeLayout(false);
  261.             this.ResumeLayout(false);
  262.  
  263.         }
  264.  
  265.         #endregion
  266.  
  267.         private System.Windows.Forms.GroupBox grpInput;
  268.         private System.Windows.Forms.TableLayoutPanel tlpInputLayout;
  269.         private System.Windows.Forms.TextBox txtInputScriptPath;
  270.         private System.Windows.Forms.RadioButton radInputFromFile;
  271.         private System.Windows.Forms.RadioButton radInputFromForm;
  272.         private System.Windows.Forms.TextBox txtInputScript;
  273.         private System.Windows.Forms.Button cmdBrowseScript;
  274.         private System.Windows.Forms.GroupBox grpOutput;
  275.         private System.Windows.Forms.SplitContainer spcInputOutput;
  276.         private System.Windows.Forms.TableLayoutPanel tlpMainLayout;
  277.         private System.Windows.Forms.Button cmdRunScript;
  278.         private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
  279.         private System.Windows.Forms.Button cmdClearOutput;
  280.         private System.Windows.Forms.TextBox txtOutput;
  281.  
  282.     }
  283. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement