private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex < 0) return;

            string RepairHeadId = dataGridView1.CurrentRow.Cells["RepairHeadId"].Value.ToString();

            ProductionNew.ProductionPeapleRepair r = new ProductionPeapleRepair();
            r.EditId = RepairHeadId;
            r.StartPosition = FormStartPosition.CenterScreen;
            r.Show();
        }
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     ProductionNew.ProductionPeapleRepair r = new ProductionPeapleRepair();
     r.StartPosition = FormStartPosition.CenterScreen;
     r.Show();
 }