You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1018 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
Check();
}
public void Check()
{
var librarys = new List<string>() {
"FaultageProcessLib.dll",
"FaultAmplitudeLib.dll",
"SurfaceGrid.dll",
"ModelCreateIDW.dll",
"MicroStructurePP.dll",
"WellCalibrate.dll"
};
textBox1.Items.Clear();
var results = Verifier.Check(librarys);
foreach (var result in results)
{
var ok = result.Ok ? "Ok" : "Error";
textBox1.Items.Add($"{result.Name}\t{ok}");
}
}
}
}