Windows Application Form

  • Thread starter Thread starter Jason Kleinhans
  • Start date Start date
J

Jason Kleinhans

Guest
Hi I am new to visual studio and C# code, i am developing a Windows Application Form in Visual Studio 2017 when i run the from i get the following error messages when i browse through the C# code

Error 1:
Cannot declare namespace in script code

Error 2:

The type namespace or name forms does not exist in the namespace system.windows

Error 3:
Object does not contain a definition for Dispose

Error 4:
EmployeeRequestFormUI.Dispose (bool): no suitable method found to override

Here is my code below:

using System;
using System.Windows.Forms;

namespace RequestForm
{
partial class employeeRequestFormUI
{
/// <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()
{
employeeRequestFormUI employeeRequestFormUI = this;
employeeRequestFormUI.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(employeeRequestFormUI));
System.Windows.Forms.Label idLabel;
System.Windows.Forms.Label firstNameLabel;
System.Windows.Forms.Label lastNameLabel;
System.Windows.Forms.Label job_DescLabel;
System.Windows.Forms.Label emailLabel;
System.Windows.Forms.Label departmentLabel;
System.Windows.Forms.Label tel_ExtLabel;
System.Windows.Forms.Label isLaptopLabel;
System.Windows.Forms.Label isDesktopLabel;
System.Windows.Forms.Label requestedByLabel;
System.Windows.Forms.Label softwareItemsLabel;
employeeRequestFormUI.exitbtn = new System.Windows.Forms.Button();
employeeRequestFormUI.pictureBox1 = new System.Windows.Forms.PictureBox();
employeeRequestFormUI.label1 = new System.Windows.Forms.Label();
employeeRequestFormUI.label2 = new System.Windows.Forms.Label();
employeeRequestFormUI.submitBtn = new System.Windows.Forms.Button();
employeeRequestFormUI.employeeDBDataSet1 = new RequestForm.EmployeeDBDataSet1();
employeeRequestFormUI.employeeAddBindingSource = new System.Windows.Forms.BindingSource(employeeRequestFormUI.components);
employeeRequestFormUI.employeeAddTableAdapter = new RequestForm.EmployeeDBDataSet1TableAdapters.EmployeeAddTableAdapter();
employeeRequestFormUI.tableAdapterManager = new RequestForm.EmployeeDBDataSet1TableAdapters.TableAdapterManager();
employeeRequestFormUI.idTextBox = new System.Windows.Forms.TextBox();
employeeRequestFormUI.txtSoftwareItems = new System.Windows.Forms.TextBox();
employeeRequestFormUI.txtLastname = new System.Windows.Forms.TextBox();
employeeRequestFormUI.txtJob_Desc = new System.Windows.Forms.TextBox();
employeeRequestFormUI.txtEmail = new System.Windows.Forms.TextBox();
employeeRequestFormUI.txtTelExt = new System.Windows.Forms.TextBox();
employeeRequestFormUI.txtRequestedBy = new System.Windows.Forms.TextBox();
employeeRequestFormUI.radioLaptop = new System.Windows.Forms.RadioButton();
employeeRequestFormUI.radioDesktop = new System.Windows.Forms.RadioButton();
employeeRequestFormUI.txtDepartment = new System.Windows.Forms.ComboBox();
employeeRequestFormUI.richTextBox1 = new System.Windows.Forms.RichTextBox();
employeeRequestFormUI.label3 = new System.Windows.Forms.Label();
employeeRequestFormUI.checkedListBox1 = new System.Windows.Forms.CheckedListBox();
idLabel = new System.Windows.Forms.Label();
firstNameLabel = new System.Windows.Forms.Label();
lastNameLabel = new System.Windows.Forms.Label();
job_DescLabel = new System.Windows.Forms.Label();
emailLabel = new System.Windows.Forms.Label();
departmentLabel = new System.Windows.Forms.Label();
tel_ExtLabel = new System.Windows.Forms.Label();
isLaptopLabel = new System.Windows.Forms.Label();
isDesktopLabel = new System.Windows.Forms.Label();
requestedByLabel = new System.Windows.Forms.Label();
softwareItemsLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)employeeRequestFormUI.pictureBox1).BeginInit();
((System.ComponentModel.ISupportInitialize)employeeRequestFormUI.employeeDBDataSet1).BeginInit();
((System.ComponentModel.ISupportInitialize)employeeRequestFormUI.employeeAddBindingSource).BeginInit();
employeeRequestFormUI.SuspendLayout();
//
// exitbtn
//
employeeRequestFormUI.exitbtn.BackColor = System.Drawing.Color.Transparent;
employeeRequestFormUI.exitbtn.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.exitbtn.Location = new System.Drawing.Point(666, 634);
employeeRequestFormUI.exitbtn.Name = "exitbtn";
employeeRequestFormUI.exitbtn.Size = new System.Drawing.Size(101, 30);
employeeRequestFormUI.exitbtn.TabIndex = 0;
employeeRequestFormUI.exitbtn.Text = "Close Form";
employeeRequestFormUI.exitbtn.UseVisualStyleBackColor = false;
employeeRequestFormUI.exitbtn.Click += new System.EventHandler(employeeRequestFormUI.exitbtn_Click);
//
// pictureBox1
//
employeeRequestFormUI.pictureBox1.BackColor = System.Drawing.Color.Transparent;
employeeRequestFormUI.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
employeeRequestFormUI.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
employeeRequestFormUI.pictureBox1.Location = new System.Drawing.Point(2, 0);
employeeRequestFormUI.pictureBox1.Name = "pictureBox1";
employeeRequestFormUI.pictureBox1.Size = new System.Drawing.Size(112, 132);
employeeRequestFormUI.pictureBox1.TabIndex = 1;
employeeRequestFormUI.pictureBox1.TabStop = false;
employeeRequestFormUI.pictureBox1.Click += new System.EventHandler(employeeRequestFormUI.pictureBox1_Click);
//
// label1
//
employeeRequestFormUI.label1.AutoSize = true;
employeeRequestFormUI.label1.BackColor = System.Drawing.Color.Transparent;
employeeRequestFormUI.label1.Font = new System.Drawing.Font("Century Gothic", 36F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.label1.Location = new System.Drawing.Point(202, 9);
employeeRequestFormUI.label1.Name = "label1";
employeeRequestFormUI.label1.Size = new System.Drawing.Size(584, 58);
employeeRequestFormUI.label1.TabIndex = 2;
employeeRequestFormUI.label1.Text = "Employee Request Form";
//
// label2
//
employeeRequestFormUI.label2.AutoSize = true;
employeeRequestFormUI.label2.BackColor = System.Drawing.Color.Transparent;
employeeRequestFormUI.label2.Font = new System.Drawing.Font("Century Gothic", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.label2.Location = new System.Drawing.Point(269, 67);
employeeRequestFormUI.label2.Name = "label2";
employeeRequestFormUI.label2.Size = new System.Drawing.Size(460, 24);
employeeRequestFormUI.label2.TabIndex = 3;
employeeRequestFormUI.label2.Text = "Please allow for 3 - 4 working days for setup ";
//
// submitBtn
//
employeeRequestFormUI.submitBtn.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.submitBtn.Location = new System.Drawing.Point(530, 634);
employeeRequestFormUI.submitBtn.Name = "submitBtn";
employeeRequestFormUI.submitBtn.Size = new System.Drawing.Size(130, 30);
employeeRequestFormUI.submitBtn.TabIndex = 5;
employeeRequestFormUI.submitBtn.Text = "Submit and Save";
employeeRequestFormUI.submitBtn.UseVisualStyleBackColor = true;
employeeRequestFormUI.submitBtn.Click += new System.EventHandler(employeeRequestFormUI.SubmitBtn_Click);
//
// employeeDBDataSet1
//
employeeRequestFormUI.employeeDBDataSet1.DataSetName = "EmployeeDBDataSet1";
employeeRequestFormUI.employeeDBDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// employeeAddBindingSource
//
employeeRequestFormUI.employeeAddBindingSource.DataMember = "EmployeeAdd";
employeeRequestFormUI.employeeAddBindingSource.DataSource = employeeRequestFormUI.employeeDBDataSet1;
//
// employeeAddTableAdapter
//
employeeRequestFormUI.employeeAddTableAdapter.ClearBeforeFill = true;
//
// tableAdapterManager
//
employeeRequestFormUI.tableAdapterManager.BackupDataSetBeforeUpdate = false;
employeeRequestFormUI.tableAdapterManager.EmployeeAddTableAdapter = employeeRequestFormUI.employeeAddTableAdapter;
employeeRequestFormUI.tableAdapterManager.UpdateOrder = RequestForm.EmployeeDBDataSet1TableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// idLabel
//
idLabel.AutoSize = true;
idLabel.BackColor = System.Drawing.Color.Transparent;
idLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
idLabel.Location = new System.Drawing.Point(71, 137);
idLabel.Name = "idLabel";
idLabel.Size = new System.Drawing.Size(24, 17);
idLabel.TabIndex = 7;
idLabel.Text = "Id:";
//
// idTextBox
//
employeeRequestFormUI.idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", employeeRequestFormUI.employeeAddBindingSource, "Id", true));
employeeRequestFormUI.idTextBox.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.idTextBox.Location = new System.Drawing.Point(218, 137);
employeeRequestFormUI.idTextBox.Name = "idTextBox";
employeeRequestFormUI.idTextBox.Size = new System.Drawing.Size(36, 23);
employeeRequestFormUI.idTextBox.TabIndex = 8;
//
// firstNameLabel
//
firstNameLabel.AutoSize = true;
firstNameLabel.BackColor = System.Drawing.Color.Transparent;
firstNameLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
firstNameLabel.Location = new System.Drawing.Point(71, 163);
firstNameLabel.Name = "firstNameLabel";
firstNameLabel.Size = new System.Drawing.Size(79, 17);
firstNameLabel.TabIndex = 9;
firstNameLabel.Text = "First Name:";
//
// txtFirstName
//
employeeRequestFormUI.txtSoftwareItems.DataBindings.Add(new System.Windows.Forms.Binding("Text", employeeRequestFormUI.employeeAddBindingSource, "FirstName", true));
employeeRequestFormUI.txtSoftwareItems.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.txtSoftwareItems.Location = new System.Drawing.Point(218, 163);
employeeRequestFormUI.txtSoftwareItems.Name = "txtFirstName";
employeeRequestFormUI.txtSoftwareItems.Size = new System.Drawing.Size(167, 23);
employeeRequestFormUI.txtSoftwareItems.TabIndex = 10;
//
// lastNameLabel
//
lastNameLabel.AutoSize = true;
lastNameLabel.BackColor = System.Drawing.Color.Transparent;
lastNameLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
lastNameLabel.Location = new System.Drawing.Point(71, 189);
lastNameLabel.Name = "lastNameLabel";
lastNameLabel.Size = new System.Drawing.Size(81, 17);
lastNameLabel.TabIndex = 11;
lastNameLabel.Text = "Last Name:";
//
// txtLastname
//
employeeRequestFormUI.txtLastname.DataBindings.Add(new System.Windows.Forms.Binding("Text", employeeRequestFormUI.employeeAddBindingSource, "LastName", true));
employeeRequestFormUI.txtLastname.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.txtLastname.Location = new System.Drawing.Point(218, 189);
employeeRequestFormUI.txtLastname.Name = "txtLastname";
employeeRequestFormUI.txtLastname.Size = new System.Drawing.Size(167, 23);
employeeRequestFormUI.txtLastname.TabIndex = 12;
//
// job_DescLabel
//
job_DescLabel.AutoSize = true;
job_DescLabel.BackColor = System.Drawing.Color.Transparent;
job_DescLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
job_DescLabel.Location = new System.Drawing.Point(71, 215);
job_DescLabel.Name = "job_DescLabel";
job_DescLabel.Size = new System.Drawing.Size(71, 17);
job_DescLabel.TabIndex = 13;
job_DescLabel.Text = "Job Desc:";
//
// txtJob_Desc
//
employeeRequestFormUI.txtJob_Desc.DataBindings.Add(new System.Windows.Forms.Binding("Text", employeeRequestFormUI.employeeAddBindingSource, "Job_Desc", true));
employeeRequestFormUI.txtJob_Desc.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.txtJob_Desc.Location = new System.Drawing.Point(218, 215);
employeeRequestFormUI.txtJob_Desc.Name = "txtJob_Desc";
employeeRequestFormUI.txtJob_Desc.Size = new System.Drawing.Size(229, 23);
employeeRequestFormUI.txtJob_Desc.TabIndex = 14;
//
// emailLabel
//
emailLabel.AutoSize = true;
emailLabel.BackColor = System.Drawing.Color.Transparent;
emailLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
emailLabel.Location = new System.Drawing.Point(71, 241);
emailLabel.Name = "emailLabel";
emailLabel.Size = new System.Drawing.Size(47, 17);
emailLabel.TabIndex = 15;
emailLabel.Text = "Email:";
//
// txtEmail
//
employeeRequestFormUI.txtEmail.DataBindings.Add(new System.Windows.Forms.Binding("Text", employeeRequestFormUI.employeeAddBindingSource, "Email", true));
employeeRequestFormUI.txtEmail.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.txtEmail.Location = new System.Drawing.Point(218, 241);
employeeRequestFormUI.txtEmail.Name = "txtEmail";
employeeRequestFormUI.txtEmail.Size = new System.Drawing.Size(229, 23);
employeeRequestFormUI.txtEmail.TabIndex = 16;
//
// departmentLabel
//
departmentLabel.AutoSize = true;
departmentLabel.BackColor = System.Drawing.Color.Transparent;
departmentLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
departmentLabel.Location = new System.Drawing.Point(71, 267);
departmentLabel.Name = "departmentLabel";
departmentLabel.Size = new System.Drawing.Size(91, 17);
departmentLabel.TabIndex = 17;
departmentLabel.Text = "Department:";
//
// tel_ExtLabel
//
tel_ExtLabel.AutoSize = true;
tel_ExtLabel.BackColor = System.Drawing.Color.Transparent;
tel_ExtLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
tel_ExtLabel.Location = new System.Drawing.Point(71, 293);
tel_ExtLabel.Name = "tel_ExtLabel";
tel_ExtLabel.Size = new System.Drawing.Size(50, 17);
tel_ExtLabel.TabIndex = 19;
tel_ExtLabel.Text = "Tel Ext:";
//
// txtTelExt
//
employeeRequestFormUI.txtTelExt.DataBindings.Add(new System.Windows.Forms.Binding("Text", employeeRequestFormUI.employeeAddBindingSource, "Tel_Ext", true));
employeeRequestFormUI.txtTelExt.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.txtTelExt.Location = new System.Drawing.Point(218, 293);
employeeRequestFormUI.txtTelExt.Name = "txtTelExt";
employeeRequestFormUI.txtTelExt.Size = new System.Drawing.Size(73, 23);
employeeRequestFormUI.txtTelExt.TabIndex = 20;
//
// isLaptopLabel
//
isLaptopLabel.AutoSize = true;
isLaptopLabel.BackColor = System.Drawing.Color.Transparent;
isLaptopLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
isLaptopLabel.Location = new System.Drawing.Point(71, 319);
isLaptopLabel.Name = "isLaptopLabel";
isLaptopLabel.Size = new System.Drawing.Size(71, 17);
isLaptopLabel.TabIndex = 21;
isLaptopLabel.Text = "Is Lap;
//
// isDesktopLabel
//
isDesktopLabel.AutoSize = true;
isDesktopLabel.BackColor = System.Drawing.Color.Transparent;
isDesktopLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
isDesktopLabel.Location = new System.Drawing.Point(71, 345);
isDesktopLabel.Name = "isDesktopLabel";
isDesktopLabel.Size = new System.Drawing.Size(77, 17);
isDesktopLabel.TabIndex = 23;
isDesktopLabel.Text = "Is Desk;
//
// requestedByLabel
//
requestedByLabel.AutoSize = true;
requestedByLabel.BackColor = System.Drawing.Color.Transparent;
requestedByLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
requestedByLabel.Location = new System.Drawing.Point(71, 371);
requestedByLabel.Name = "requestedByLabel";
requestedByLabel.Size = new System.Drawing.Size(97, 17);
requestedByLabel.TabIndex = 25;
requestedByLabel.Text = "Requested By:";
//
// txtRequestedBy
//
employeeRequestFormUI.txtRequestedBy.DataBindings.Add(new System.Windows.Forms.Binding("Text", employeeRequestFormUI.employeeAddBindingSource, "RequestedBy", true));
employeeRequestFormUI.txtRequestedBy.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.txtRequestedBy.Location = new System.Drawing.Point(218, 371);
employeeRequestFormUI.txtRequestedBy.Name = "txtRequestedBy";
employeeRequestFormUI.txtRequestedBy.Size = new System.Drawing.Size(229, 23);
employeeRequestFormUI.txtRequestedBy.TabIndex = 26;
//
// softwareItemsLabel
//
softwareItemsLabel.AutoSize = true;
softwareItemsLabel.BackColor = System.Drawing.Color.Transparent;
softwareItemsLabel.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
softwareItemsLabel.Location = new System.Drawing.Point(566, 140);
softwareItemsLabel.Name = "softwareItemsLabel";
softwareItemsLabel.Size = new System.Drawing.Size(105, 16);
softwareItemsLabel.TabIndex = 27;
softwareItemsLabel.Text = "Software Items:";
//
// radioLaptop
//
employeeRequestFormUI.radioLaptop.AutoSize = true;
employeeRequestFormUI.radioLaptop.Location = new System.Drawing.Point(218, 321);
employeeRequestFormUI.radioLaptop.Name = "radioLaptop";
employeeRequestFormUI.radioLaptop.Size = new System.Drawing.Size(14, 13);
employeeRequestFormUI.radioLaptop.TabIndex = 28;
employeeRequestFormUI.radioLaptop.TabStop = true;
employeeRequestFormUI.radioLaptop.UseVisualStyleBackColor = true;
//
// radioDesktop
//
employeeRequestFormUI.radioDesktop.AutoSize = true;
employeeRequestFormUI.radioDesktop.Location = new System.Drawing.Point(218, 347);
employeeRequestFormUI.radioDesktop.Name = "radioDesktop";
employeeRequestFormUI.radioDesktop.Size = new System.Drawing.Size(14, 13);
employeeRequestFormUI.radioDesktop.TabIndex = 29;
employeeRequestFormUI.radioDesktop.TabStop = true;
employeeRequestFormUI.radioDesktop.UseVisualStyleBackColor = true;
//
// txtDepartment
//
employeeRequestFormUI.txtDepartment.FormattingEnabled = true;
employeeRequestFormUI.txtDepartment.Location = new System.Drawing.Point(218, 266);
employeeRequestFormUI.txtDepartment.Name = "txtDepartment";
employeeRequestFormUI.txtDepartment.Size = new System.Drawing.Size(229, 21);
employeeRequestFormUI.txtDepartment.TabIndex = 40;
//
// richTextBox1
//
employeeRequestFormUI.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
employeeRequestFormUI.richTextBox1.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.richTextBox1.Location = new System.Drawing.Point(74, 434);
employeeRequestFormUI.richTextBox1.Name = "richTextBox1";
employeeRequestFormUI.richTextBox1.Size = new System.Drawing.Size(696, 163);
employeeRequestFormUI.richTextBox1.TabIndex = 41;
employeeRequestFormUI.richTextBox1.Text = "";
//
// label3
//
employeeRequestFormUI.label3.AutoSize = true;
employeeRequestFormUI.label3.BackColor = System.Drawing.Color.Transparent;
employeeRequestFormUI.label3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
employeeRequestFormUI.label3.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.label3.Location = new System.Drawing.Point(71, 415);
employeeRequestFormUI.label3.Name = "label3";
employeeRequestFormUI.label3.Size = new System.Drawing.Size(518, 16);
employeeRequestFormUI.label3.TabIndex = 42;
employeeRequestFormUI.label3.Text = "Please specify which network drives and folders the employee need access to:";
//
// checkedListBox1
//
employeeRequestFormUI.checkedListBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
employeeRequestFormUI.checkedListBox1.Font = new System.Drawing.Font("Century Gothic", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
employeeRequestFormUI.checkedListBox1.FormattingEnabled = true;
employeeRequestFormUI.checkedListBox1.Items.AddRange(new object[] {
"Winems",
"CPAR",
"Jet Professional",
"Dynamics NAV",
"Sage Accpac",
"My Micros",
"Micros EMC",
"CSTime",
"Materials Control",
"Opera PMS",
"VPN NetXtender"});
employeeRequestFormUI.checkedListBox1.Location = new System.Drawing.Point(569, 160);
employeeRequestFormUI.checkedListBox1.Name = "checkedListBox1";
employeeRequestFormUI.checkedListBox1.Size = new System.Drawing.Size(198, 198);
employeeRequestFormUI.checkedListBox1.TabIndex = 43;
employeeRequestFormUI.checkedListBox1.SelectedIndexChanged += new System.EventHandler(employeeRequestFormUI.checkedListBox1_SelectedIndexChanged);
//
// EmployeeRequestFormUI
//
employeeRequestFormUI.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
employeeRequestFormUI.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
employeeRequestFormUI.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
employeeRequestFormUI.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
employeeRequestFormUI.ClientSize = new System.Drawing.Size(862, 676);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.checkedListBox1);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.label3);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.richTextBox1);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.txtDepartment);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.radioDesktop);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.radioLaptop);
employeeRequestFormUI.Controls.Add(idLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.idTextBox);
employeeRequestFormUI.Controls.Add(firstNameLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.txtSoftwareItems);
employeeRequestFormUI.Controls.Add(lastNameLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.txtLastname);
employeeRequestFormUI.Controls.Add(job_DescLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.txtJob_Desc);
employeeRequestFormUI.Controls.Add(emailLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.txtEmail);
employeeRequestFormUI.Controls.Add(departmentLabel);
employeeRequestFormUI.Controls.Add(tel_ExtLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.txtTelExt);
employeeRequestFormUI.Controls.Add(isLaptopLabel);
employeeRequestFormUI.Controls.Add(isDesktopLabel);
employeeRequestFormUI.Controls.Add(requestedByLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.txtRequestedBy);
employeeRequestFormUI.Controls.Add(softwareItemsLabel);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.submitBtn);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.label2);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.label1);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.pictureBox1);
employeeRequestFormUI.Controls.Add(employeeRequestFormUI.exitbtn);
employeeRequestFormUI.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
employeeRequestFormUI.Name = "EmployeeRequestFormUI";
employeeRequestFormUI.Text = "Form1";
employeeRequestFormUI.Load += new System.EventHandler(employeeRequestFormUI.Form1_Load);
((System.ComponentModel.ISupportInitialize)employeeRequestFormUI.pictureBox1).EndInit();
((System.ComponentModel.ISupportInitialize)employeeRequestFormUI.employeeDBDataSet1).EndInit();
((System.ComponentModel.ISupportInitialize)employeeRequestFormUI.employeeAddBindingSource).EndInit();
employeeRequestFormUI.ResumeLayout(false);
employeeRequestFormUI.PerformLayout();

}

#endregion

private System.Windows.Forms.Button exitbtn;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button submitBtn;
private EmployeeDBDataSet1 employeeDBDataSet1;
private System.Windows.Forms.BindingSource employeeAddBindingSource;
private EmployeeDBDataSet1TableAdapters.EmployeeAddTableAdapter employeeAddTableAdapter;
private EmployeeDBDataSet1TableAdapters.TableAdapterManager tableAdapterManager;
private System.Windows.Forms.TextBox idTextBox;
private System.Windows.Forms.TextBox txtSoftwareItems;
private System.Windows.Forms.TextBox txtLastname;
private System.Windows.Forms.TextBox txtJob_Desc;
private System.Windows.Forms.TextBox txtEmail;
private System.Windows.Forms.TextBox txtTelExt;
private System.Windows.Forms.TextBox txtRequestedBy;
private System.Windows.Forms.RadioButton radioLaptop;
private System.Windows.Forms.RadioButton radioDesktop;
private System.Windows.Forms.ComboBox txtDepartment;
private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckedListBox checkedListBox1;

private class txtJob
{
public static implicit operator txtJob(TextBox v)
{
throw new NotImplementedException();
}
}
}
}

Continue reading...
 
Back
Top