コード例 #1
0
        private void frmNhaTaiTro_V2_Load(object sender, EventArgs e)
        {
            lueCaNhanToChuc.Properties.DataSource = FuncCategory.loadDMCaNhanToChuc();
            FuncCategory.loadCategoryByName(CategoryEntitiesTable.DM_NHA_TAI_TRO_LOAI, lueLoaiNhaTaiTro);
            seSoTien.Ex_FormatCustomSpinEdit();

            FormStatus = EnumFormStatus.VIEW;
        }
        private void ucBCHoiVienTongNKTTheoTrinhDoHocVan_Load(object sender, EventArgs e)
        {
            registerButtonArray(btnControl);

            FuncCategory.loadCategoryByName(CategoryEntitiesTable.DM_TINH, lueThanhPho);
            LibraryDev.PermissionButton(btnControl, previewBar1);
            lueThanhPho.Properties.PopupFormMinSize = lueThanhPho.Size;
            _loadData();
        }
コード例 #3
0
        private void frmNhaTaiTro_Load(object sender, EventArgs e)
        {
            FuncCategory.loadCategoryByName(CategoryEntitiesTable.DM_GIOITINH, lueGioiTinh);
            FunctionHelper.dateFormat(deNgayCap_Nam, deNgayCap_Thang, deNgayCap_Ngay);

            seThuLao_1.Ex_FormatCustomSpinEdit();
            seThuLao_2.Ex_FormatCustomSpinEdit();
            seThuLao_3.Ex_FormatCustomSpinEdit();
            seThuLao_4.Ex_FormatCustomSpinEdit();

            string tinhTrangKT_Value = lueDangTat.EditValue + string.Empty;

            lueDangTat.Ex_SetDataSource(CategoryEntitiesTable.DM_KHUYETTAT_TINHTRANG.Ex_ToString());
            lueDangTat.EditValue = tinhTrangKT_Value;
            lueDangTat.RefreshEditValue();

            FuncCategory.loadCategoryByName(CategoryEntitiesTable.DM_DOITUONG2, lueDoiTuong);

            _changeLayout((CategoryTapHuanChiTietLoai)_loai_id);
            FormStatus = EnumFormStatus.VIEW;
        }
コード例 #4
0
 private void frmHoatDongDayNgheDoiTuongKhac_Load(object sender, EventArgs e)
 {
     FuncCategory.loadCategoryByName(CategoryEntitiesTable.DM_GIOITINH, lueGioiTinh);
     FunctionHelper.dateFormat(deNgayCap_Nam, deNgayCap_Thang, deNgayCap_Ngay);
     FormStatus = EnumFormStatus.VIEW;
 }