///<summary></summary> public static void Refresh() { string command = "SELECT * FROM procbutton ORDER BY ItemOrder"; DataTable table = General.GetTable(command); List = new ProcButton[table.Rows.Count]; for (int i = 0; i < table.Rows.Count; i++) { List[i] = new ProcButton(); List[i].ProcButtonNum = PIn.PInt(table.Rows[i][0].ToString()); List[i].Description = PIn.PString(table.Rows[i][1].ToString()); List[i].ItemOrder = PIn.PInt(table.Rows[i][2].ToString()); List[i].Category = PIn.PInt(table.Rows[i][3].ToString()); List[i].ButtonImage = PIn.PBitmap(table.Rows[i][4].ToString()); } }