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.
47 lines
1.2 KiB
47 lines
1.2 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
using Gm_WMS.DataAccess.DataService;
|
|
using Stone.WinBiz.JISAdmin;
|
|
using System.Threading;
|
|
using Stone.Common;
|
|
using Stone.User;
|
|
using System.Data.SqlClient;
|
|
|
|
namespace Stone.WinService
|
|
{
|
|
public partial class frmTest : Form
|
|
{
|
|
public frmTest()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
try
|
|
{
|
|
LocalDBService.m_conn = MyAppconfig.ReadValue("LocalDB");
|
|
|
|
F_EDI_JIS5000Sequence.IsRun = true;
|
|
F_EDI_JIS5000Sequence.Run();
|
|
|
|
MyLogger.Write("服务启动成功!");
|
|
|
|
MyMessageBox.ShowInfoMessage("服务启动成功");
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
MyLogger.Write("服务启动失败!详细原因为:" + ex.Message);
|
|
MyMessageBox.ShowInfoMessage("服务启动失败!详细原因为:" + ex.Message);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|