public void populateChat(string result) { GridFiller.PurgeAllGrid(ChatStack); Dictionary <string, List <string> > dictionary = FormatFunctions.createValuePairs(FormatFunctions.SplitToPairs(result)); if (dictionary.Count > 0) { for (int i = 0; i < dictionary["Message"].Count; i++) { string[] s = new string[] { FormatFunctions.PrettyDate(dictionary["Timestamp"][i]) + ":" + dictionary["FName"][i] + ":" + FormatFunctions.PrettyDate(dictionary["Message"][i]) }; GridFiller.rapidFill(s, ChatStack); } } }
public void PurgeCells() { GridFiller.PurgeAllGrid(dataGrid); }
public void PurgeCells() { GridFiller.PurgeAllGrid(TSection); }