Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 5.02 KB | None | 0 0
  1. using System;
  2. using System.Windows.Forms;
  3. using System.Drawing;
  4.  
  5. namespace Project1
  6. {
  7.     partial class Form1
  8.     {
  9.         /// <summary>
  10.         /// Required designer variable.
  11.         /// </summary>
  12.         private System.ComponentModel.IContainer components = null;
  13.  
  14.         /// <summary>
  15.         /// Clean up any resources being used.
  16.         /// </summary>
  17.         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  18.         protected override void Dispose(bool disposing)
  19.         {
  20.             if (disposing && (components != null))
  21.             {
  22.                 components.Dispose();
  23.             }
  24.             base.Dispose(disposing);
  25.         }
  26.  
  27.         #region Windows Form Designer generated code
  28.  
  29.         /// <summary>
  30.         /// Required method for Designer support - do not modify
  31.         /// the contents of this method with the code editor.
  32.         /// </summary>
  33.         private void InitializeComponent()
  34.         {
  35.             this.label1 = new System.Windows.Forms.Label();
  36.             this.label2 = new System.Windows.Forms.Label();
  37.             this.label3 = new System.Windows.Forms.Label();
  38.             this.textBox1 = new System.Windows.Forms.TextBox();
  39.             this.textBox2 = new System.Windows.Forms.TextBox();
  40.             this.textBox3 = new System.Windows.Forms.TextBox();
  41.             this.button1 = new System.Windows.Forms.Button();
  42.             this.SuspendLayout();
  43.             //
  44.             // label1
  45.             //
  46.             this.label1.AutoSize = true;
  47.             this.label1.Location = new System.Drawing.Point(12, 9);
  48.             this.label1.Name = "label1";
  49.             this.label1.Size = new System.Drawing.Size(60, 13);
  50.             this.label1.TabIndex = 0;
  51.             this.label1.Text = "First Name:";
  52.             //
  53.             // label2
  54.             //
  55.             this.label2.AutoSize = true;
  56.             this.label2.Location = new System.Drawing.Point(12, 43);
  57.             this.label2.Name = "label2";
  58.             this.label2.Size = new System.Drawing.Size(61, 13);
  59.             this.label2.TabIndex = 1;
  60.             this.label2.Text = "Last Name:";
  61.             //
  62.             // label3
  63.             //
  64.             this.label3.AutoSize = true;
  65.             this.label3.Location = new System.Drawing.Point(21, 76);
  66.             this.label3.Name = "label3";
  67.             this.label3.Size = new System.Drawing.Size(29, 13);
  68.             this.label3.TabIndex = 2;
  69.             this.label3.Text = "Age:";
  70.             //
  71.             // textBox1
  72.             //
  73.             this.textBox1.Location = new System.Drawing.Point(78, 6);
  74.             this.textBox1.Name = "textBox1";
  75.             this.textBox1.Size = new System.Drawing.Size(138, 20);
  76.             this.textBox1.TabIndex = 3;
  77.             //
  78.             // textBox2
  79.             //
  80.             this.textBox2.Location = new System.Drawing.Point(78, 40);
  81.             this.textBox2.Name = "textBox2";
  82.             this.textBox2.Size = new System.Drawing.Size(138, 20);
  83.             this.textBox2.TabIndex = 4;
  84.             //
  85.             // textBox3
  86.             //
  87.             this.textBox3.Location = new System.Drawing.Point(78, 73);
  88.             this.textBox3.Name = "textBox3";
  89.             this.textBox3.Size = new System.Drawing.Size(138, 20);
  90.             this.textBox3.TabIndex = 5;
  91.             //
  92.             // button1
  93.             //
  94.             this.button1.Location = new System.Drawing.Point(15, 107);
  95.             this.button1.Name = "button1";
  96.             this.button1.Size = new System.Drawing.Size(201, 30);
  97.             this.button1.TabIndex = 6;
  98.             this.button1.Text = "Add to the Database!";
  99.             this.button1.UseVisualStyleBackColor = true;
  100.             /*this.button1.Click += new EventHandler(OnClick);*/
  101.             //
  102.             // Form1
  103.             //
  104.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  105.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  106.             this.ClientSize = new System.Drawing.Size(233, 149);
  107.             this.Controls.Add(this.button1);
  108.             this.Controls.Add(this.textBox3);
  109.             this.Controls.Add(this.textBox2);
  110.             this.Controls.Add(this.textBox1);
  111.             this.Controls.Add(this.label3);
  112.             this.Controls.Add(this.label2);
  113.             this.Controls.Add(this.label1);
  114.             this.Name = "Form1";
  115.             this.Text = "Database Editor";
  116.             this.ResumeLayout(false);
  117.             this.PerformLayout();
  118.         }
  119.  
  120.         /*public void OnClick(object sender, EventArgs e)
  121.         {
  122.         }*/
  123.         #endregion
  124.  
  125.         private System.Windows.Forms.Label label1;
  126.         private System.Windows.Forms.Label label2;
  127.         private System.Windows.Forms.Label label3;
  128.         private System.Windows.Forms.TextBox textBox1;
  129.         private System.Windows.Forms.TextBox textBox2;
  130.         private System.Windows.Forms.TextBox textBox3;
  131.         private System.Windows.Forms.Button button1;
  132.  
  133.     }
  134. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement