北京安通林JIS系统
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.

46 lines
1012 B

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 System.Threading;
using Stone.Common;
namespace Stone.WinService
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
try
{
Gm_WMS.DataAccess.DataService.LocalDBService.m_conn = MyAppconfig.ReadValue("LocalDB");
F_EDI_BJ.IsRun = true;
Thread t1 = new Thread(F_EDI_BJ.Run);
t1.Start();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
private void button2_Click(object sender, EventArgs e)
{
F_Mail.SendMail("aaaaa.txt", "测试邮件", "邮件内容");
}
}
}