}// Paste internal bool HaveThisGroup(String group) { if (m_oResults is CTaskPad) { CTaskPad padinfo = (CTaskPad)m_oResults; if (padinfo.HaveGroup(group)) { return(true); } } return(false); }// HaveThisGroup
}// TaskPadTaskNotify internal IEnumTASK GetIEnumTASK(String szTaskGroup) { if (m_oResults is CTaskPad) { CTaskPad padinfo = (CTaskPad)m_oResults; if (padinfo.HaveGroup(szTaskGroup)) { if (padinfo is IEnumTASK) { return((IEnumTASK)padinfo); } // We'll be using custom HTML pages to put in // tasks, so we'll give MMC a generic (aka dummy) IEnumTASK implementation else { return((IEnumTASK)this); } } throw new Exception("I don't have that group!"); } throw new Exception("I don't have a taskpad!"); }// GetIEnumTASK