public UC_Siswa() { InitializeComponent(); siswa = new Entity.EntSiswa(); siswaDao = Factory.Factory.getSiswaDao(); TampilDataSiswa(); }
public TambahSiswa() { siswa = new Entity.EntSiswa(); siswaDao = Factory.Factory.getSiswaDao(); InitializeComponent(); txt_NIS.Text = siswaDao.nisbaru(); txt_POIN.Text = "0"; }
public UC_DataPelanggaran() { InitializeComponent(); sanksi = new Entity.EntDaftarSanksi(); siswa = new Entity.EntSiswa(); siswaDao = Factory.Factory.getSiswaDao(); login = new Entity.EntLogin(); TampilDataSiswa(); textBox1.Text = login.getNIP(); }
public UC_SimpanPDF() { InitializeComponent(); siswa = new Entity.EntSiswa(); siswaDao = Factory.Factory.getSiswaDao(); TampilDataSiswa(); // Mengatur property savefiledialog SaveFileDialog1.FileName = ""; SaveFileDialog1.Filter = "PDF (*.pdf)|*.pdf"; txt_lokasi.Text = ""; }