Esempio n. 1
0
 void dgv到货单_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
     {
         int id   = Convert.ToInt32(dgv到货单.Rows[e.RowIndex].Cells[0].Value);
         到货单 form = new 到货单(mainform, id);
         form.ShowDialog();
     }
 }
Esempio n. 2
0
        private void btn到货单增加记录_Click(object sender, EventArgs e)
        {
            到货单 form = new 到货单(mainform);

            form.Show();
        }