119 lines
4.7 KiB
C#
Executable File
119 lines
4.7 KiB
C#
Executable File
namespace Problem2BookClubPoints_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.label2 = new System.Windows.Forms.Label();
|
|
this.booksPurchasedTextBox = new System.Windows.Forms.TextBox();
|
|
this.pointsTextBox = new System.Windows.Forms.TextBox();
|
|
this.okButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
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(245, 15);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Please enter the number of books purchased:";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(166, 39);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(91, 15);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Points awarded:";
|
|
//
|
|
// booksPurchasedTextBox
|
|
//
|
|
this.booksPurchasedTextBox.Location = new System.Drawing.Point(263, 6);
|
|
this.booksPurchasedTextBox.Name = "booksPurchasedTextBox";
|
|
this.booksPurchasedTextBox.Size = new System.Drawing.Size(100, 23);
|
|
this.booksPurchasedTextBox.TabIndex = 2;
|
|
//
|
|
// pointsTextBox
|
|
//
|
|
this.pointsTextBox.Location = new System.Drawing.Point(263, 35);
|
|
this.pointsTextBox.Name = "pointsTextBox";
|
|
this.pointsTextBox.ReadOnly = true;
|
|
this.pointsTextBox.Size = new System.Drawing.Size(100, 23);
|
|
this.pointsTextBox.TabIndex = 3;
|
|
//
|
|
// okButton
|
|
//
|
|
this.okButton.Location = new System.Drawing.Point(103, 78);
|
|
this.okButton.Name = "okButton";
|
|
this.okButton.Size = new System.Drawing.Size(75, 23);
|
|
this.okButton.TabIndex = 4;
|
|
this.okButton.Text = "OK";
|
|
this.okButton.UseVisualStyleBackColor = true;
|
|
this.okButton.Click += new System.EventHandler(this.okButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(184, 78);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(75, 23);
|
|
this.exitButton.TabIndex = 5;
|
|
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(376, 113);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.okButton);
|
|
this.Controls.Add(this.pointsTextBox);
|
|
this.Controls.Add(this.booksPurchasedTextBox);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.Text = "Form1";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private TextBox booksPurchasedTextBox;
|
|
private TextBox pointsTextBox;
|
|
private Button okButton;
|
|
private Button exitButton;
|
|
}
|
|
} |