public void ResetContextLists() { m_contextInfoLists = new Dictionary<string, List<ContextInfo>>(); m_currContextInfoList = new List<ContextInfo>(); gridContext.RowCount = 0; gridContext.Invalidate(); }