private void InitializeUserControls() { if (doctorAppointment == null || doctorAppointment.IsDisposed) { doctorAppointment = new DoctorAppointment(); } if (patientView == null || patientView.IsDisposed) { patientView = new PatientView(); } if (myInformation == null || myInformation.IsDisposed) { myInformation = new MyInformation(); } }
private void InitializeUserControls() { if (this.addAppointment == null || this.addAppointment.IsDisposed) { this.addAppointment = new AddAppointment(); } if (this.updateAppointment == null || this.updateAppointment.IsDisposed) { this.updateAppointment = new UpdateAppointment(); } if (this.myInformation == null || this.myInformation.IsDisposed) { this.myInformation = new MyInformation(); } if (this.cancelledAppointment == null || this.cancelledAppointment.IsDisposed) { this.cancelledAppointment = new CancelledAppointment(); } }
private void InitializeUserControls() { if (hireEmployee == null || hireEmployee.IsDisposed) { hireEmployee = new HireEmployee(); } if (fireEmployee == null || fireEmployee.IsDisposed) { fireEmployee = new FireEmployee(); } if (createUser == null || createUser.IsDisposed) { createUser = new CreateUser(); } if (myInformation == null || myInformation.IsDisposed) { myInformation = new MyInformation(); } }