예제 #1
0
 public MainForm(int IdDoc)
 {
     InitializeComponent();
     userDoctor       = new Doctor(connectionClass, IdDoc);
     labelDoctor.Text = "Doctor: " + userDoctor.Name + " " + userDoctor.LastName;
     helperForm       = new HelperForm(this);
     patientDetails(false);
     //ActiveControl = textBoxSearchN;
 }
예제 #2
0
 private void startForm(ConnectionClass connectionClass, int IdDoc)
 {
     InitializeComponent();
     this.connectionClass = connectionClass;
     this.IdDoc           = IdDoc;
     buttonAddP.Enabled   = false;
     newPatient           = null;
     ActiveControl        = textBoxName;
     helperForm           = new HelperForm(this);
 }
예제 #3
0
 public LoginForm()
 {
     InitializeComponent();
     helperForm = new HelperForm(this);
 }