private void RemoveProgram(int cardNum) { if (Programs.ContainsKey(cardNum)) { Programs.Remove(cardNum); EQ2008.User_DelAllProgram(cardNum); } }