Exemple #1
0
        private void buttonAddAdmin_Click(object sender, EventArgs e)
        {
            AdminPanelAddNewAdmin APA = new AdminPanelAddNewAdmin();

            APA.Show();
            this.Close();
        }
        private void buttonAddAdmin_Click(object sender, EventArgs e)
        {
            AdminPanelAddNewAdmin APA = new AdminPanelAddNewAdmin();

            APA.Show();
            APA.LoginnedAdminName = labelUsername.Text.ToString();
            this.Close();
        }