98 lines
3.8 KiB
C#
Executable File
98 lines
3.8 KiB
C#
Executable File
namespace lab5_4_CalebFontenot
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.nameTextBox = new System.Windows.Forms.TextBox();
|
|
this.writeNameButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
this.saveFile = new System.Windows.Forms.SaveFileDialog();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(121, 15);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Enter a friend\'s name:";
|
|
//
|
|
// nameTextBox
|
|
//
|
|
this.nameTextBox.Location = new System.Drawing.Point(139, 6);
|
|
this.nameTextBox.Name = "nameTextBox";
|
|
this.nameTextBox.Size = new System.Drawing.Size(156, 23);
|
|
this.nameTextBox.TabIndex = 1;
|
|
//
|
|
// writeNameButton
|
|
//
|
|
this.writeNameButton.Location = new System.Drawing.Point(12, 39);
|
|
this.writeNameButton.Name = "writeNameButton";
|
|
this.writeNameButton.Size = new System.Drawing.Size(98, 23);
|
|
this.writeNameButton.TabIndex = 2;
|
|
this.writeNameButton.Text = "Write Name";
|
|
this.writeNameButton.UseVisualStyleBackColor = true;
|
|
this.writeNameButton.Click += new System.EventHandler(this.writeNameButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(199, 39);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(96, 23);
|
|
this.exitButton.TabIndex = 3;
|
|
this.exitButton.Text = "Exit";
|
|
this.exitButton.UseVisualStyleBackColor = true;
|
|
this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(311, 74);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.writeNameButton);
|
|
this.Controls.Add(this.nameTextBox);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.Text = "Form1";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private TextBox nameTextBox;
|
|
private Button writeNameButton;
|
|
private Button exitButton;
|
|
private SaveFileDialog saveFile;
|
|
}
|
|
} |