Ejemplo n.º 1
0
 private void registerNewUserToolStripMenuItem_Click(object sender, EventArgs e)
 {
     User.Register r = new User.Register(this, false);
     r.MdiParent = this.MdiParent;
     r.Show();
     if (r.can_exit)
     {
         update_dfv(true);
     }
 }
Ejemplo n.º 2
0
        private void modifyToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string username = dataGridView1.CurrentRow.Cells[1].Value.ToString();
            string id       = dataGridView1.CurrentRow.Cells[0].Value.ToString();

            User.Register r = new User.Register(this, true);
            r.MdiParent = this.MdiParent;
            r.Show();
            r.get_user_data(username, id);
            if (r.can_exit)
            {
                update_dfv(true);
            }
        }
Ejemplo n.º 3
0
Archivo: Login.cs Proyecto: zedehks/WCT
 private void button2_Click(object sender, EventArgs e)
 {
     User.Register r = new User.Register(this, false);
     r.ShowDialog();
 }