예제 #1
0
 private void bLoadResults_Click(object sender, EventArgs e)
 {
     if (ofdReport.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         tbResults.Text  = ofdReport.FileName;
         logFile_Results = logFile_Results.DeSerializeData(tbResults.Text);
         LoadResults();
     }
 }
예제 #2
0
 private void bOpenReport_Click(object sender, EventArgs e)
 {
     if (String.IsNullOrEmpty(ofdReport.InitialDirectory))
     {
         ofdReport.InitialDirectory = @"\\nov-fs01\ONVIF\AutoTesting\TestReports";
     }
     if (ofdReport.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         ofdReport.InitialDirectory = Path.GetDirectoryName(ofdReport.FileName);
         tbReport.Text   = ofdReport.FileName;
         logFile         = logFile.DeSerializeData(tbReport.Text);
         tbResults.Text  = "";
         logFile_Results = new ClientTestTool.LogFile();
         UpdateLog();
     }
 }