private void provider_table_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { String ID = provider_table.CurrentRow.Cells[0].Value.ToString(); frmprovider = new FormProviders(int.Parse(ID)); frmprovider.ShowDialog(); if (frmprovider.DialogResult == System.Windows.Forms.DialogResult.OK) { this.providerTableAdapter.Fill(this._point_of_saleDataSet.provider); } }
private void proveedorToolStripMenuItem_Click(object sender, EventArgs e) { FormProviders frmProvider = new FormProviders(); frmProvider.Show(); }