Пример #1
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            id = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
            for (int i = 0; i < listid.Count(); i++)
            {
                if (listid[i] == id)
                {
                    index = i;
                }
            }
            this.Close();
            FormCustomer f = new FormCustomer();

            f.Show();
        }
Пример #2
0
        private void customerToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormCustomer f = new FormCustomer();

            f.Show();
        }