private void SourcesToolStripMenuItem_Click(object sender, EventArgs e) { UIVars.TableName = "Sources"; var viewer = new frmDBView(); viewer.ShowDialog(); }
private void CustomersToolStripMenuItem_Click(object sender, EventArgs e) { //var test = db.Database.Log; //MessageBox.Show(db.Customers.Local.FirstOrDefault().FirstName); UIVars.TableName = "Customers"; var viewer = new frmDBView(); // var viewer = new frmDBView(); viewer.ShowDialog(); }