Exemplo n.º 1
0
 protected override void DoGetChildren()
 {
     if (m_command == null)
     {
         m_command = m_jobconn.GetJob().Root;
     }
     m_children = (from cmd in m_command.m_commands select JobTreeNode.GetCommandTreeNode(this, cmd, m_jobconn)).ToArray();
 }
Exemplo n.º 2
0
 public override bool Save()
 {
     if (m_cmd != null)
     {
         m_jobconn.SaveReports(m_cmd);
         m_cmd = m_jobconn.GetCommand(m_cmd.GroupId);
     }
     else
     {
         m_jobconn.SaveReports(m_job);
         m_job = m_jobconn.GetJob();
     }
     RefreshFactories();
     RefreshConfigs();
     return(true);
 }