Пример #1
0
        private void buttonDelete_Click(object sender, EventArgs e)
        {
            AdminPanelDelete adminPanelDelete = new AdminPanelDelete();

            adminPanelDelete.Show();
            this.Close();
        }
Пример #2
0
        private void buttonDelete_Click(object sender, EventArgs e)
        {
            AdminPanelDelete adminPanelDelete = new AdminPanelDelete();

            adminPanelDelete.Show();
            adminPanelDelete.username = labelUsername.Text.ToString();
            this.Close();
        }