C# 클래스 Library.Util

파일 보기 프로젝트 열기: tjdbcourse/tjdbcourse

공개 메소드들

메소드 설명
GetTableName ( System.Windows.Forms.DataGridView view ) : string
MD5 ( string str ) : string
RemoveGridRow ( System.Windows.Forms.DataGridView view, System.Windows.Forms.DataGridViewRowCancelEventArgs e ) : bool
TrimAllGridCells ( System.Windows.Forms.DataGridView view ) : void
TrimGridCell ( System.Windows.Forms.DataGridView view, int row, int col ) : void
UpdateGridCell ( System.Windows.Forms.DataGridView view, int row, int col ) : void
UpdateGridCellForBook ( System.Windows.Forms.DataGridView view, string tableName, int row, int col ) : void
ValidateFloatInput ( string input, string desc ) : bool
ValidateIntegerInput ( string input, string desc ) : bool
ValidateStringInput ( string input, string desc, int maxlen ) : bool

메소드 상세

GetTableName() 공개 정적인 메소드

public static GetTableName ( System.Windows.Forms.DataGridView view ) : string
view System.Windows.Forms.DataGridView
리턴 string

MD5() 공개 정적인 메소드

public static MD5 ( string str ) : string
str string
리턴 string

RemoveGridRow() 공개 정적인 메소드

public static RemoveGridRow ( System.Windows.Forms.DataGridView view, System.Windows.Forms.DataGridViewRowCancelEventArgs e ) : bool
view System.Windows.Forms.DataGridView
e System.Windows.Forms.DataGridViewRowCancelEventArgs
리턴 bool

TrimAllGridCells() 공개 정적인 메소드

public static TrimAllGridCells ( System.Windows.Forms.DataGridView view ) : void
view System.Windows.Forms.DataGridView
리턴 void

TrimGridCell() 공개 정적인 메소드

public static TrimGridCell ( System.Windows.Forms.DataGridView view, int row, int col ) : void
view System.Windows.Forms.DataGridView
row int
col int
리턴 void

UpdateGridCell() 공개 정적인 메소드

public static UpdateGridCell ( System.Windows.Forms.DataGridView view, int row, int col ) : void
view System.Windows.Forms.DataGridView
row int
col int
리턴 void

UpdateGridCellForBook() 공개 정적인 메소드

public static UpdateGridCellForBook ( System.Windows.Forms.DataGridView view, string tableName, int row, int col ) : void
view System.Windows.Forms.DataGridView
tableName string
row int
col int
리턴 void

ValidateFloatInput() 공개 정적인 메소드

public static ValidateFloatInput ( string input, string desc ) : bool
input string
desc string
리턴 bool

ValidateIntegerInput() 공개 정적인 메소드

public static ValidateIntegerInput ( string input, string desc ) : bool
input string
desc string
리턴 bool

ValidateStringInput() 공개 정적인 메소드

public static ValidateStringInput ( string input, string desc, int maxlen ) : bool
input string
desc string
maxlen int
리턴 bool