public f_PharmacyHomeScreen()
        {
            InitializeComponent();
            infodetailtable.AutoGenerateColumns = true;
            bPharmacy store = new bPharmacy();

            store.displayOrders(infodetailtable);
        }
        public f_PharmacyForm(int mrn, string date)
        {
            InitializeComponent();
            grid.AutoGenerateColumns = true;
            bPharmacy store = new bPharmacy();

            store.getOrders(mrn, date, grid, t_MRN, tfname, tmname, tlname, tdate);



            // store.getOrders(mrn, date,grid, t_MRN, tfname, tmname, tlname,tdate,grid);
        }
        private void b_save_Click(object sender, EventArgs e)
        {
            f_PharmacyForm form = this;
            bPharmacy      pha  = new bPharmacy();

            pha.save(t_MRN, tdate, grid);

            f_PharmacyHomeScreen home = new f_PharmacyHomeScreen();

            home.Show();
            form.Close();
            //lab.saveTestResults(t_MRN, treportDate, reportGrid);
        }