private void Info_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e) { if (action != null && Info.Rows.Count != 0) { Profile pr = new Profile(db, actionIDs[action]); pr.ShowDialog(); db.LocalDataTable.Clear(); db.Create_Connection("Patients", Pater.item); } }
private void button5_Click(object sender, EventArgs e) { Profile pr = new Profile(db,actionIDs[action]); pr.Show(); }