public void SetDashBoardCountEventAdd(int groupid, DashBoardCountEvent e) { DashBoardCountEvent temp = null; if (DicDashBoardCountEvent.TryGetValue(groupid, out temp)) { DicDashBoardCountEvent.Remove(groupid); } DicDashBoardCountEvent[groupid] = e; }
public DashBoardCountEvent GetDashBoardCountEvent(int groupid) { DashBoardCountEvent e = null; if (DicDashBoardCountEvent.TryGetValue(groupid, out e) == true) { e = DicDashBoardCountEvent[groupid]; } return(e); }