private void btPersonalCabinet_Click(object sender, EventArgs e)
        {
            FormRegister fr = new FormRegister(false, LoginBL.CurrentUser.Id);

            fr.ShowDialog();
            dataGrid.DataSource = UsersBL.GetAllUsers();
        }
Esempio n. 2
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FormRegister fr = new FormRegister(true, 0);

            fr.ShowDialog();
        }