private void button1_Click(object sender, EventArgs e) { UserRegWindow userWindow = new UserRegWindow(); userWindow.ShowDialog(); }
private void usuárioToolStripMenuItem_Click(object sender, EventArgs e) { UserRegWindow window = new UserRegWindow(); window.ShowDialog(); }