105 lines
4.3 KiB
C#
Executable File
105 lines
4.3 KiB
C#
Executable File
namespace lab6_3_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.countriesListBox = new System.Windows.Forms.ListBox();
|
|
this.getCountriesButton = new System.Windows.Forms.Button();
|
|
this.exitButton = new System.Windows.Forms.Button();
|
|
this.openFile = new System.Windows.Forms.OpenFileDialog();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(251, 21);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "The Countries of North America";
|
|
//
|
|
// countriesListBox
|
|
//
|
|
this.countriesListBox.FormattingEnabled = true;
|
|
this.countriesListBox.ItemHeight = 15;
|
|
this.countriesListBox.Location = new System.Drawing.Point(12, 33);
|
|
this.countriesListBox.Name = "countriesListBox";
|
|
this.countriesListBox.Size = new System.Drawing.Size(251, 184);
|
|
this.countriesListBox.TabIndex = 1;
|
|
//
|
|
// getCountriesButton
|
|
//
|
|
this.getCountriesButton.Location = new System.Drawing.Point(55, 223);
|
|
this.getCountriesButton.Name = "getCountriesButton";
|
|
this.getCountriesButton.Size = new System.Drawing.Size(75, 42);
|
|
this.getCountriesButton.TabIndex = 2;
|
|
this.getCountriesButton.Text = "Get Countries";
|
|
this.getCountriesButton.UseVisualStyleBackColor = true;
|
|
this.getCountriesButton.Click += new System.EventHandler(this.getCountriesButton_Click);
|
|
//
|
|
// exitButton
|
|
//
|
|
this.exitButton.Location = new System.Drawing.Point(136, 223);
|
|
this.exitButton.Name = "exitButton";
|
|
this.exitButton.Size = new System.Drawing.Size(75, 42);
|
|
this.exitButton.TabIndex = 3;
|
|
this.exitButton.Text = "Exit";
|
|
this.exitButton.UseVisualStyleBackColor = true;
|
|
this.exitButton.Click += new System.EventHandler(this.exitButton_Click);
|
|
//
|
|
// openFile
|
|
//
|
|
this.openFile.FileName = "countries_NA.txt";
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(277, 277);
|
|
this.Controls.Add(this.exitButton);
|
|
this.Controls.Add(this.getCountriesButton);
|
|
this.Controls.Add(this.countriesListBox);
|
|
this.Controls.Add(this.label1);
|
|
this.Name = "Form1";
|
|
this.Text = "Form1";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private ListBox countriesListBox;
|
|
private Button getCountriesButton;
|
|
private Button exitButton;
|
|
private OpenFileDialog openFile;
|
|
}
|
|
} |