You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
6 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Configuration;
|
||
|
using System.Linq;
|
||
|
using System.Threading.Tasks;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace PaintingPC
|
||
|
{
|
||
|
static class Program
|
||
|
{
|
||
|
public static string IP;
|
||
|
public static string PicturePath;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 应用程序的主入口点。
|
||
|
/// </summary>
|
||
|
[STAThread]
|
||
|
static void Main()
|
||
|
{
|
||
|
Application.EnableVisualStyles();
|
||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||
|
string aa = ConfigurationManager.AppSettings["Position"];
|
||
|
|
||
|
|
||
|
if (aa.Contains("一检"))
|
||
|
{
|
||
|
Application.Run(new FrmFirstCheck());
|
||
|
}
|
||
|
else if (aa.Contains("二检") && aa.Contains("点修补"))
|
||
|
{
|
||
|
Application.Run(new FrmSecondCheckSpec());
|
||
|
}
|
||
|
else if (aa.Contains("二检") && !aa.Contains("点修补"))
|
||
|
{
|
||
|
Application.Run(new FrmSecondCheck());
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|