C# 클래스 BKI_DichVuMatDat.CHRMCommon

파일 보기 프로젝트 열기: assassinadal/BKIProject-DichVuMatDat

공개 메소드들

메소드 설명
ExportExcel ( BandedGridView ip_grv ) : void
ExportExcel ( GridView ip_grv ) : void
ExportExcelWithFileName ( BandedGridView ip_grv, string ip_str_file_name ) : void
ExportExcelWithFileName ( GridView ip_grv, string ip_str_file_name ) : void
SelectRowInGrid ( GridView pview, string pColumnName, decimal pValue ) : void
TinhTuoi ( System.DateTime ip_dat_ngay_sinh ) : int
format_text_2_money ( TextBox ip_m_txt ) : void
gen_ma_nhan_vien ( ) : string
gen_version ( ) : string
get_first_day_of_month ( System.DateTime ip_dat_current_date ) : System.DateTime
get_first_day_of_month ( int ip_int_month ) : System.DateTime
get_last_day_of_month ( System.DateTime ip_dat_current_date ) : System.DateTime
get_last_day_of_month ( int ip_int_month ) : System.DateTime
make_stt ( DevExpress ip_grv ) : void
make_stt_indicator ( DevExpress ip_grv ) : void

Trả về danh sách các nhân viên được quyền chọn theo user người sử dụng

thang_da_chot_bang_luong ( System.DateTime ip_dat ) : bool
thang_da_chot_bang_luong ( decimal ip_dc_thang, decimal ip_dc_nam ) : bool
validate_control_empty ( ) : bool

비공개 메소드들

메소드 설명
GetRowHandleByColumnValue ( GridView view, string ColumnFieldName, object value ) : int
ip_grv_CustomDrawRowIndicator ( object sender, DevExpress e ) : void
ip_grv_CustomUnboundColumnData ( object sender, DevExpress e ) : void

메소드 상세

ExportExcel() 공개 정적인 메소드

public static ExportExcel ( BandedGridView ip_grv ) : void
ip_grv BandedGridView
리턴 void

ExportExcel() 공개 정적인 메소드

public static ExportExcel ( GridView ip_grv ) : void
ip_grv GridView
리턴 void

ExportExcelWithFileName() 공개 정적인 메소드

public static ExportExcelWithFileName ( BandedGridView ip_grv, string ip_str_file_name ) : void
ip_grv BandedGridView
ip_str_file_name string
리턴 void

ExportExcelWithFileName() 공개 정적인 메소드

public static ExportExcelWithFileName ( GridView ip_grv, string ip_str_file_name ) : void
ip_grv GridView
ip_str_file_name string
리턴 void

SelectRowInGrid() 공개 정적인 메소드

public static SelectRowInGrid ( GridView pview, string pColumnName, decimal pValue ) : void
pview GridView
pColumnName string
pValue decimal
리턴 void

TinhTuoi() 공개 정적인 메소드

public static TinhTuoi ( System.DateTime ip_dat_ngay_sinh ) : int
ip_dat_ngay_sinh System.DateTime
리턴 int

format_text_2_money() 공개 정적인 메소드

public static format_text_2_money ( TextBox ip_m_txt ) : void
ip_m_txt System.Windows.Forms.TextBox
리턴 void

gen_ma_nhan_vien() 공개 정적인 메소드

public static gen_ma_nhan_vien ( ) : string
리턴 string

gen_version() 공개 정적인 메소드

public static gen_version ( ) : string
리턴 string

get_first_day_of_month() 공개 정적인 메소드

public static get_first_day_of_month ( System.DateTime ip_dat_current_date ) : System.DateTime
ip_dat_current_date System.DateTime
리턴 System.DateTime

get_first_day_of_month() 공개 정적인 메소드

public static get_first_day_of_month ( int ip_int_month ) : System.DateTime
ip_int_month int
리턴 System.DateTime

get_last_day_of_month() 공개 정적인 메소드

public static get_last_day_of_month ( System.DateTime ip_dat_current_date ) : System.DateTime
ip_dat_current_date System.DateTime
리턴 System.DateTime

get_last_day_of_month() 공개 정적인 메소드

public static get_last_day_of_month ( int ip_int_month ) : System.DateTime
ip_int_month int
리턴 System.DateTime

make_stt() 공개 정적인 메소드

public static make_stt ( DevExpress ip_grv ) : void
ip_grv DevExpress
리턴 void

make_stt_indicator() 공개 정적인 메소드

Trả về danh sách các nhân viên được quyền chọn theo user người sử dụng
public static make_stt_indicator ( DevExpress ip_grv ) : void
ip_grv DevExpress
리턴 void

thang_da_chot_bang_luong() 공개 정적인 메소드

public static thang_da_chot_bang_luong ( System.DateTime ip_dat ) : bool
ip_dat System.DateTime
리턴 bool

thang_da_chot_bang_luong() 공개 정적인 메소드

public static thang_da_chot_bang_luong ( decimal ip_dc_thang, decimal ip_dc_nam ) : bool
ip_dc_thang decimal
ip_dc_nam decimal
리턴 bool

validate_control_empty() 공개 정적인 메소드

public static validate_control_empty ( ) : bool
리턴 bool