private void btnEdit_Click(object sender, EventArgs e)
        {
            this.Hide();
            var newEMForm = new Edit_Member();

            newEMForm.Closed += (s, args) => this.Close();
            newEMForm.Show();
        }
        private void btnEdit_Click(object sender, EventArgs e)
        {
            int rV = 0;

            foreach (DataGridViewRow dg in dataGridView1.Rows)
            {
                if (Convert.ToBoolean(dg.Cells[0].Value) == true)
                {
                    rV++;
                }
            }
            if (rV > 1)
            {
                MessageBox.Show("Only 1 user can be selected at a time for edits. Please try again.");
            }
            else if (rV == 1)
            {
                foreach (DataGridViewRow dg in dataGridView1.Rows)
                {
                    if (Convert.ToBoolean(dg.Cells[0].Value) == true)
                    {
                        int x = Convert.ToInt32(dg.Cells[1].Value);
                        this.Hide();
                        var newEMForm = new Edit_Member();
                        newEMForm.setStartupID = x;
                        newEMForm.Closed      += (s, args) => this.Close();
                        newEMForm.Show();
                    }
                }
            }
            else
            {
                this.Hide();
                var newEMForm = new Edit_Member();
                newEMForm.Closed += (s, args) => this.Close();
                newEMForm.Show();
            }
            rV = 0;
        }