Exemple #1
0
        private void button14_Click(object sender, EventArgs e)
        {
            Form13 frm = new Form13();

            frm.text1.Text = dataGridView1user.CurrentRow.Cells[0].Value.ToString();
            frm.text2.Text = dataGridView1user.CurrentRow.Cells[1].Value.ToString();
            frm.text3.Text = dataGridView1user.CurrentRow.Cells[2].Value.ToString();
            frm.text4.Text = dataGridView1user.CurrentRow.Cells[2].Value.ToString();
            frm.com1.Text  = dataGridView1user.CurrentRow.Cells[3].Value.ToString();
            //frm.text3.UseSystemPasswordChar = true;
            //frm.text4.UseSystemPasswordChar = true;
            frm.b1.Text = "تعديل";
            frm.ShowDialog();
            this.dataGridView1user.DataSource = login.searchusers("");
        }
        private void button4_Click(object sender, EventArgs e)
        {
            Form13 frm = new Form13();

            frm.ShowDialog();
        }