public AgreedTermAllFormD(DBCommunication.DBCommunicationAdmin _db, int doctorID) { InitializeComponent(); _DB = _db; doctor = doctorID; _patient = _DB.GetPatient(); _agreedTerm = _DB.AgreedTemForDoctor(doctor); AgreedTermGridControl.DataSource = _agreedTerm; }