Пример #1
0
        private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            string    strID = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
            NewClient nw    = new NewClient();

            nw.ID = strID;
            nw.Show();
        }
Пример #2
0
        private void B_New_Click(object sender, EventArgs e)
        {
            NewClient nw = new NewClient();

            nw.Show();
        }