Пример #1
0
 public UC_Siswa()
 {
     InitializeComponent();
     siswa    = new Entity.EntSiswa();
     siswaDao = Factory.Factory.getSiswaDao();
     TampilDataSiswa();
 }
Пример #2
0
        public TambahSiswa()
        {
            siswa    = new Entity.EntSiswa();
            siswaDao = Factory.Factory.getSiswaDao();
            InitializeComponent();

            txt_NIS.Text  = siswaDao.nisbaru();
            txt_POIN.Text = "0";
        }
Пример #3
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();
 }
Пример #4
0
        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 = "";
        }