Exemple #1
0
 private void CbKelas_DropDown(object sender, EventArgs e)
 {
     if (CbTahunAjaran.SelectedIndex >= 0)
     {
         KodeKelas = CbKelas.LoadKelas(S.GetKodeGuru(), CbTahunAjaran.Text);
     }
 }
        public FPengajaran()
        {
            InitializeComponent();
            this.SetControlFrom();
            tbhalaman.SetHalaman(bprev, ldarihalaman, bnext, Loaddb);

            CbTahunAjaran.LoadTahunAjaran();
            kodekelas = CbKelas.LoadKelas();

            CbTahunAjaran.SelectedIndexChanged += LoadingData;
            CbKelas.SelectedIndexChanged       += LoadingData;
            TbCari.TextChanged += LoadingData;
        }
        public FRuangKelas()
        {
            InitializeComponent();
            this.SetControlFrom();
            tbhalaman.SetHalaman(bprev, ldarihalaman, bnext, loaddb);
            CbTahunAjaran.LoadTahunAjaran();
            CbMasuk.LoadAngkatan();
            KodeKelas = CbKelas.LoadKelas();

            CbTahunAjaran.SelectedIndexChanged += LoadingData;
            CbMasuk.SelectedIndexChanged       += LoadingData;
            CbKelas.SelectedIndexChanged       += LoadingData;
            TbCari.TextChanged += LoadingData;
        }