Fixed some UI bugs in the Category Manager form.
This commit is contained in:
@@ -13,13 +13,19 @@ namespace InventoryTest
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
private static string ConnectionString { get; } = "Server=DESKTOP-HJES64T;Database=main;Integrated Security=true;";
|
||||
private static string ConnectionString { get; } = "Server=DESKTOP-HJES64T;Database=Inventory;Integrated Security=true;";
|
||||
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
ManageCategoriesToolStripMenuItem.Click += ShowCategoryManagerForm;
|
||||
exitToolStripMenuItem.Click += ExitToolStripMenuItem_Click;
|
||||
}
|
||||
|
||||
private void ExitToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void ShowCategoryManagerForm(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user