public User_Managementform()
 {
     InitializeComponent();
     if (frm == null)
     {
         frm = this;
     }
     dgvGetAllusers.DataSource = log.SearchUsers("");
 }
 static void frm_FormClosed(object sender, EventArgs e)
 {
     frm = null;
 }
        private void userManagementForm_Click(object sender, EventArgs e)
        {
            User_Managementform usermanfrm = new User_Managementform();

            usermanfrm.ShowDialog();
        }