private void initUIElements() { errorCreateSchedule_txt = builderTextBlock.activate(this, "ErrorSchedule_txt"); successCreatePolyclinic_txt = builderTextBlock.activate(this, "SuccessPoly_txt"); polyMaster_CombB = builderComboBox.activate(this, "PolyMaster_CombB"); savePoly_bt = builderButton.activate(this, "SavePoly_bt").addOnClick(this, "onClickSavePoly"); saveSchedule_bt = builderButton.activate(this, "SaveSchedule_bt").addOnClick(this, "onClickSaveSchedule"); }
private void initUIElements() { breadcrumbs.Text += schedule.Subject.Name + " / " + schedule.Subject.Classroom.Slug + " / " + schedule.Time + " / " + attendance.Student.Nrp; mhsTxtBox = txtBoxBuilder.activate(this, "textBoxMahasiswa"); jadwalTxtBox = txtBoxBuilder.activate(this, "textBoxJadwal"); tglTxtBox = txtBoxBuilder.activate(this, "textBoxTanggal"); statusCmbBox = cmbBoxBuilder.activate(this, "comboBoxStatus"); mhsTxtBox.setText(attendance.Student.Nrp + " - " + attendance.Student.Name); jadwalTxtBox.setText(schedule.Subject.Name); tglTxtBox.setText(schedule.Time); statusCmbBox.setSelectedItemIndex(GetStatus(attendance.Status)); statusCmbBox.addOnSelectionChanged(this, "ChangeAttendanceStatus"); }