Example #1
0
        private void dataGridView_result_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            var     row = dataGridView_result.Rows[e.RowIndex];
            decimal pk  = Convert.ToDecimal(row.Cells[0].Value);

            Form personalCard = new PersonalCard(pk);

            personalCard.Show();
        }
Example #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            PersonalCard ownedForm = new PersonalCard();

            ownedForm.Show();
        }