private void buttonCreateAccs_Click(object sender, EventArgs e) { if (role > 3) { FormReg formReg = new FormReg(connection); formReg.Show(); } }
private void button1_Click(object sender, EventArgs e) { FormReg reg = new FormReg(connection); reg.Show(); }