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 FrmAirQualityInfo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void 退出ToolStripMenuItem_Click(object sender, EventArgs e)
{
DialogResult result = MessageBox.Show("确定要退出吗?", "系统提示", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation);
if (result==DialogResult.Yes)
{
Application.Exit();
}
}
private void 录入检测数据ToolStripMenuItem_Click(object sender, EventArgs e)
{
frmInsert insert = new frmInsert();
insert.Show();
}
private void 查询检测结果ToolStripMenuItem_Click(object sender, EventArgs e)
{
FrmSelect select = new FrmSelect();
select.Show();
}
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;
using System.Data.SqlClient;
namespace FrmAirQualityInfo
{
public partial class frmInsert : Form
{
DBHelper helper = new DBHelper();
SqlDataAdapter adapter = null;
DataSet ds = null;
DataView dv = null;
public frmInsert()
{
Ini
C#空气质里管理系统
最新推荐文章于 2025-07-30 11:42:32 发布