Ejemplo n.º 1
0
        private void button6_Click(object sender, EventArgs e)
        {
            Form_Create_User f = new Form_Create_User();

            f.Show();

            for (int i = 0; i < f.tbo_ProfileDataGridView.RowCount - 1; i++)
            {
                if (label1.Text == f.tbo_ProfileDataGridView[0, i].Value.ToString())
                {
                    f.tbo_ProfileDataGridView.CurrentCell = f.tbo_ProfileDataGridView[0, i];
                    f.tbo_ProfileDataGridView.CurrentRow.DefaultCellStyle.BackColor = Color.LightGreen;
                }
                else
                {
                    continue;
                }
            }
        }
Ejemplo n.º 2
0
        private void button3_Click(object sender, EventArgs e)
        {
            Form_Create_User f = new Form_Create_User();

            f.ShowDialog();
        }