public Main_FRM() { InitializeComponent(); if (mfr == null) { mfr = this; } this.productsToolStripMenuItem.Enabled = false; this.customersToolStripMenuItem.Enabled = false; this.usersToolStripMenuItem.Enabled = false; this.backupToolStripMenuItem.Enabled = false; this.restoreToolStripMenuItem.Enabled = false; FRM_LOGIN log = new FRM_LOGIN(); log.ShowDialog(); }
private void logInToolStripMenuItem_Click(object sender, EventArgs e) { FRM_LOGIN login = new FRM_LOGIN(); login.ShowDialog(); }