private void btnRegister_Click(object sender, EventArgs e) { Messages ms = new Messages(); ms.action = "register"; ms.user = new User(); frmRegister frm = new frmRegister(client, ms); frm.Show(); }
private void subscribeForUpdatesToolStripMenuItem_Click(object sender, EventArgs e) { frmRegister insFrmRegister = new frmRegister(); insFrmRegister.ShowDialog(); }