Exemple #1
0
 public referralViewForm()
 {
     InitializeComponent();
     _myDoctor = new tblRefDoctor();
     _controller = new referralController(this, _myDoctor);
     _controller.Initialize();
 }
Exemple #2
0
 public referralViewForm(tblRefDoctor myDoctor)
 {
     InitializeComponent();
     _myDoctor = myDoctor;
     _controller = new referralController(this, _myDoctor);
     _controller.Initialize();
     this.UpdateForm();
 }
Exemple #3
0
 private void UpdateDoctorDetails()
 {
     var foo = (tblRefDoctor)this.displayGridView.GetFocusedRow();
     if (foo != null)
     {
         _myDoctor = foo;
         _controller = new referralController(this, _myDoctor);
         _controller.Initialize();
         this.UpdateForm();
         this.doctorDetailsGroupBox.Text = this._controller.EditCopyDoctor.RefDFNames + @" " +
                                               this._controller.EditCopyDoctor.RefDName;
     }
 }