Gave the ok button functionality in the about box.

This commit is contained in:
Adam McCane 2024-02-09 13:57:09 -05:00
parent e8955c84f3
commit c38e6832ac
2 changed files with 6 additions and 0 deletions

View File

@ -149,6 +149,7 @@
this.okButton.Size = new System.Drawing.Size(75, 23);
this.okButton.TabIndex = 24;
this.okButton.Text = "&OK";
this.okButton.Click += new System.EventHandler(this.okButton_Click);
//
// frmAbout
//

View File

@ -101,5 +101,10 @@ namespace Louis__Pharmacy_CNSA212_FP
}
}
#endregion
private void okButton_Click(object sender, EventArgs e)
{
Close();
}
}
}