public CPR_nummer(preview frm, Preview_controller PreviewController) { InitializeComponent(); //PreviewController = new Preview_controller(); OpretPatientController = new Opret_ny_patient_controller(); this.frm = frm; this.PreviewController = PreviewController; CPRTextBox.Focus(); }
public preview(string brugerID, Hjemmeskærm frm) { InitializeComponent(); frm_ = frm; PreviewController = new Preview_controller(); dataListe_ = new List <double>(); kommListe_ = new List <string>(); x = 0; PreviewController.indlæsBrugerId(brugerID); tiSekFremKnap.Enabled = false; tiSekTilbageKnap.Enabled = false; genKnap.Enabled = false; kasserKnap.Enabled = false; gemKommentar.Enabled = false; }