Ejemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            var form = new ASSEdit(-1);

            form.ShowDialog();
            dglMain.DataSource = MainTable.Copy();
        }
Ejemplo n.º 2
0
 private void dglMain_CellMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
 {
     if (dglMain.CurrentCell != null)
     {
         var form = new ASSEdit(dglMain.CurrentCell.RowIndex);
         form.ShowDialog();
         dglMain.DataSource = MainTable.Copy();
     }
 }
Ejemplo n.º 3
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     if (dglMain.CurrentCell != null)
     {
         var form = new ASSEdit(dglMain.CurrentCell.RowIndex);
         form.ShowDialog();
         dglMain.DataSource = MainTable.Copy();
     }
 }