Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            UserForm user = new UserForm();

            if (user.ShowDialog() == DialogResult.OK)
            {
                MessageViewer viewer = new MessageViewer(user.getUser(), user.getPass());
                viewer.Show();
            }
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            MessageViewer viewer = new MessageViewer();

            viewer.Show();
        }