public Show() { InitializeComponent(); SHC = new ShowController(); dtableHospitals.DataSource = SHC.InitDataHospitals(); dtGridViewPatient.DataSource = SHC.InitDataPatients(); }
public Show(bool readme) { InitializeComponent(); SHC = new ShowController(); dtableHospitals.DataSource = SHC.InitDataHospitals(); dtGridViewPatient.DataSource = SHC.InitDataPatients(); this.redirectme = readme; if (this.redirectme == true) { ShowTab.SelectedTab = ShowHospitalTab; } else { ShowTab.SelectedTab = ShowPatientTab; } }