private void btnStartApp_Click(object sender, EventArgs e)
 {
     try
     {
         TestLib.Logfile = "c:\\testlog.log";
         TestLib.StartProgram(txtAppName.Text);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString());
     }
 }
Exemplo n.º 2
0
 public void StartProgram(string strAppname)
 {
     try
     {
         TestLib.LogFile = "c:\\testlog.log";
         TestLib.StartProgram(txtAppname.Text);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString());
     }
 }