Beispiel #1
0
        private void dataGridView1_CelltClick(object sender, DataGridViewCellEventArgs e)
        {
            string id = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();

            if (e.ColumnIndex == 6)
            {
                RepairAdd da = new RepairAdd(this);
                da.ID = id;
                da.Show();
            }
        }
Beispiel #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            RepairAdd da = new RepairAdd(this);

            da.Show();
        }