/// <summary> /// Pass the row clicked to the game model. /// </summary> public static void RowClicked(string buttonName) { // Convert button name to Row enum. VisRow _visRow = ( VisRow )Int32.Parse(buttonName.Remove(0, 8)); Row _row = ( Row )Enum.Parse(typeof(Row), _visRow.ToString()); // Process the clicked row. GameModel1.RowClicked(_row); }
// ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? public static string GetHeaderString1(VisColumn column, VisRow row) { string text = headerLabels [(((( int )column) * 20) + ( int )row)]; return(text); }