GG_DPS/Store/FCheckStore.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using GG_DPS.App_Mode;

namespace GG_DPS.Store
{
    public partial class FCheckStore : Form
    {
        BindingSource bding = new BindingSource();
        public FCheckStore()
        {
            InitializeComponent();
        }

        void bandwait()
        {
            StoreChange sc = new StoreChange();
            sc.status = 1;
            sc.userId = Login.userId;
            bding.DataSource = sc.Select(5);
            bindingNavigator1.BindingSource = bding;
            dvwait.DataSource = bding;
            Logic.FormatDgv(dvwait);
            dvwait.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
        }

        void bandrole()
        {
            //CheckStoreNumber ck = new CheckStoreNumber();
            StoreChange sc = new StoreChange();
            sc.userId = Login.userId;
            dvrole.DataSource = sc.Select(6);
            Logic.FormatDgv(dvrole);
            //dvrole.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
        }
        private void FCheckStore_Load(object sender, EventArgs e)
        {
            bandwait();
            bandrole();
            dvwait_CellClick(null, null);
        }

        private void btncreate_Click(object sender, EventArgs e)
        {
            if (txtflowId.Text.Trim() == "" || txtflowId.Text.Trim() == "" || txtItem.Text.Trim() == "")
            {
                MessageBox.Show("请选择要实盘登记的物料。", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                txtflowId.Focus();
                return;
            }
            if (txtinvMan.Text.Trim() == "")
            {
                MessageBox.Show("请输入盘点人姓名。", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                txtinvMan.Focus();
                return;
后面还有 115 行代码,购买后查看完整代码

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

AI 解读

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

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