static void Main(string[] args) { capture cp = new capture(); info i = new info(); PrintOut p = new PrintOut(); cp.getInfo(); p.print_Report(); }
static void Main(string[] args) { capture cp = new capture(); info i = new info(); printout p = new printout(); cp.getHospitalInfo(); cp.getPatientInfo(); p.printoutHospital(); p.printoutPatients(); }
static void Main(string[] args) { //capture the info from the capture class capture c = new capture(); c.getPatientDetails(); //print everything that is inside the classes print_slip p = new print_slip(); p.printReport(); }
static void Main(string[] args) { Info i = new Info(); Console.Write("Please enter the hospital's name :"); i.setHospital_Name(Console.ReadLine()); Console.Write("Please enter the address :"); i.setAddress(Console.ReadLine()); Console.Write("Please enter if the hospital is Public or Private :"); i.setHospitalType(Console.ReadLine()); Console.Write("Please enter the hospital's province :"); i.setProvince(Console.ReadLine()); Console.Write("Please enter the hospital's province :"); i.setArray(Convert.ToInt32(Console.ReadLine())); capture c = new capture(); c.getPatient_Details(); }