Ejemplo n.º 1
0
 public ProcfileEntry(Procfile objProcfile, int intIndex, string strName, string strCommand)
 {
     m_objProcfile = objProcfile;
     m_intIndex    = intIndex;
     m_strName     = strName;
     m_strCommand  = strCommand.Replace("$PORT", Port().ToString());
 }
Ejemplo n.º 2
0
 public ProcfileEntry(Procfile objProcfile, int intIndex, string strName, string strCommand)
 {
     m_objProcfile = objProcfile;
     m_intIndex = intIndex;
     m_strName = strName;
     m_strCommand = strCommand.Replace("$PORT", Port().ToString());
 }
Ejemplo n.º 3
0
        private void OpenProcfile(string strFilename)
        {
            if (m_objProcfile != null)
            {
                m_objProcfile.Stop();
            }

            txtConsole.Clear();

            m_objProcfile = new Procfile(strFilename);

            m_objProcfile.TextReceived += delegate(ProcfileEntry objEntry, string strText)
            {
                AppendText(objEntry.Header(), strText);
            };

            m_objProcfile.StatusReceived += delegate(string strText)
            {
                AppendText(m_objProcfile.Header(), strText);
            };

            m_objProcfile.Start();
        }
Ejemplo n.º 4
0
        private void OpenProcfile(string strFilename)
        {
            if (m_objProcfile != null)
            {
                m_objProcfile.Stop();
            }

            txtConsole.Clear();

            m_objProcfile = new Procfile(strFilename);

            m_objProcfile.TextReceived += delegate(ProcfileEntry objEntry, string strText)
            {
                AppendText(objEntry.Header(), strText);
            };

            m_objProcfile.StatusReceived += delegate(string strText)
            {
                AppendText(m_objProcfile.Header(), strText);
            };

            m_objProcfile.Start();
        }