private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { Guid idFile = (Guid)dataGridView1.Rows[e.RowIndex].Cells[0].Value; FormFile formFile = new FormFile(idFile); formFile.ShowDialog(); if (formFile.DialogResult.Equals(DialogResult.OK)) { archivoTableAdapter.Fill(this.webappDBDataSet.Archivo); dataGridView1.Update(); dataGridView1.Refresh(); } formFile.Dispose(); }
private void addToolStripMenuItem3_Click(object sender, EventArgs e) { FormFile fFile = new FormFile(); fFile.MdiParent = this; fFile.Show(); }