Exemple #1
0
        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();
        }
Exemple #2
0
        private void subscribeForUpdatesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmRegister insFrmRegister = new frmRegister();

            insFrmRegister.ShowDialog();
        }