private void toolStripSplitButton3_ButtonClick(object sender, EventArgs e) { frmAlocacao alocar = new frmAlocacao(); alocar.objUsuario(toolUsuario.Text, codFunc); alocar.ShowDialog(); }
private void toolStripMenuItem2_Click_2(object sender, EventArgs e) { frmAlocacao alocar = new frmAlocacao(); alocar.objUsuario(toolUsuario.Text, codFunc); alocar.ShowDialog(); }