Exemple #1
0
        private void dataGridView1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            UsersAdd ca = new UsersAdd();

            ca.userid = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            ca.userAddBtn.Hide();
            ca.edit = true;
            this.Close();
            ca.Show();
            ca.TopMost = true;
        }
Exemple #2
0
        private void addToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            UsersAdd user = new UsersAdd();

            user.Show();
        }