JinYeTransportCostsSystem/document/gatheringdocument/Mian_HZ.cs

(开头部分) 9KB

这里只显示每个文件的开头 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.document.gatheringdocument
{
    public partial class Mian_HZ : Form
    {
        public Mian_HZ()
        {
            InitializeComponent();
        }

        Tsr.BLL.FZ_DJ_FKD bll = new Tsr.BLL.FZ_DJ_FKD();
        Tsr.BLL.FZ_DJ_FKD_HZ bllHz = new Tsr.BLL.FZ_DJ_FKD_HZ();
        Tsr.Model.FZ_DJ_FKD model = new Tsr.Model.FZ_DJ_FKD();
        Tsr.Model.FZ_DJ_FKD_HZ modelHz = new Tsr.Model.FZ_DJ_FKD_HZ();
        public void GetFKD(string s_djbh, bool b_djtype)
        {
            tb_djbh.Text = s_djbh;
            model = bll.GetModel(s_djbh);
            tb_jsdw.Text = model.ClearingUnit;
            tb_Tdd.Text = model.ReceivingParty;
            tb_car.Text=model.CollectionVehicles;
            dgv_Query.DataSource = bllHz.GetListHz(s_djbh).Tables[0];
            lb_kdr.Text = JinYeTransportCostsSystem.Tsr_Main.UserInFo.UserName;
            cb_Gz.Checked = b_djtype;
            cb_Gz.Enabled = false;
            
        }

        private void Mian_HZ_Load(object sender, EventArgs e)
        {
            if (dgv_Query.CurrentCell.RowIndex != dgv_Query.Rows.Count - 1)
            {
                dgv_Query.CurrentCell = dgv_Query[8, dgv_Query.CurrentCell.RowIndex];
            }
            dgv_Query[0, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[1, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[2, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[3, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[4, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[5, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[6, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[7, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[9, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
            dgv_Query[10, dgv_Query.CurrentCell.RowIndex].ReadOnly = true;
        }

        private void tb_dj_KeyDown(object sender, KeyEventArgs e)
        {
            if (tb_dj.Text.Length != 0)
            {
                if (e.KeyValue == 13)
                {
                    BIndjs();
后面还有 167 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。