Backup/JinYeTransportCostsSystem/Base/Tsr_Base_Spec.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace JinYeTransportCostsSystem.Base
{
public partial class Tsr_Base_Spec : Form
{
static bool _changed = true;
string s_old = "0.00";
public Tsr_Base_Spec()
{
InitializeComponent();
}
private void Tsr_Base_Spec_Load(object sender, EventArgs e)
{
BindData();
}
private void BindData()
{
Tsr.BLL.FZ_Spec bllSpec = new Tsr.BLL.FZ_Spec();
dataGridView1.DataSource = bllSpec.GetAllList().Tables[0];
DataTable dt = new DataTable();
dt = bllSpec.GetAllList().Tables[0];
dataGridView1.DataSource = dt;
dataGridView1.ReadOnly = true;
}
private void lb_Exit_Click(object sender, EventArgs e)
{
this.Close();
}
private void lb_New_Click(object sender, EventArgs e)
{
_changed = true;
this.ClearBox(this);
txt_corename.ReadOnly = false;
}
private void ClearBox(Control c)
{
foreach (Control childControl in c.Controls)
{
if (childControl is TextBox)
((TextBox)childControl).Text = "";
else
ClearBox(childControl);
}
}
private void lb_Save_Click(object sender, EventArgs e)
{
if (txt_coremath.Text == "" || txt_corename.Text == "")
后面还有 87 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
