Changed some of the text in the about box.

This commit is contained in:
Adam McCane 2024-02-09 13:56:41 -05:00
parent eb9b853e0d
commit e8955c84f3
3 changed files with 16 additions and 4 deletions

View File

@ -86,7 +86,7 @@
this.labelProductName.Name = "labelProductName";
this.labelProductName.Size = new System.Drawing.Size(271, 17);
this.labelProductName.TabIndex = 19;
this.labelProductName.Text = "Product Name";
this.labelProductName.Text = "Can\'t Come up with Name Right Now";
this.labelProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// labelVersion
@ -122,7 +122,7 @@
this.labelCompanyName.Name = "labelCompanyName";
this.labelCompanyName.Size = new System.Drawing.Size(271, 17);
this.labelCompanyName.TabIndex = 22;
this.labelCompanyName.Text = "Company Name";
this.labelCompanyName.Text = "Louis\' Pharmacy";
this.labelCompanyName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// textBoxDescription
@ -137,7 +137,8 @@
this.textBoxDescription.Size = new System.Drawing.Size(271, 126);
this.textBoxDescription.TabIndex = 23;
this.textBoxDescription.TabStop = false;
this.textBoxDescription.Text = "Description";
this.textBoxDescription.Text = "This application is designed to efficiently update and add information into our d" +
"atabase.";
//
// okButton
//

View File

@ -154,8 +154,9 @@
// mnuHelpAbout
//
this.mnuHelpAbout.Name = "mnuHelpAbout";
this.mnuHelpAbout.Size = new System.Drawing.Size(107, 22);
this.mnuHelpAbout.Size = new System.Drawing.Size(180, 22);
this.mnuHelpAbout.Text = "About";
this.mnuHelpAbout.Click += new System.EventHandler(this.mnuHelpAbout_Click);
//
// frmMain
//

View File

@ -104,5 +104,15 @@ namespace Louis__Pharmacy_CNSA212_FP
childform.Close();
}
}
private void mnuHelpAbout_Click(object sender, EventArgs e)
{
frmAbout about = new frmAbout();
about.MdiParent = this;
about.StartPosition = FormStartPosition.CenterScreen;
about.Show();
about.Focus();
}
}
}