Exemplo n.º 1
0
        private void AT_ItemManager_FormClosing(object sender, FormClosingEventArgs e)
        {
            // Create new frmDashboard called 'dash' and pass username and access level.
            AdminTasks userman = new AdminTasks(_username, _accessLevel);

            // Show the 'dash' form.
            userman.Show();
        }
Exemplo n.º 2
0
        private void mtAdminTasks_Click(object sender, EventArgs e)
        {
            // Hide this form.
            Hide();

            // Set 'at' to the form 'AdminTasks'.
            AdminTasks at = new AdminTasks(_username, _accessLevel);

            // Show the 'at' form.
            at.Show();
        }