CyManager/Ustock.cs

(开头部分) 26KB

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

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
using Common;
using BLL;
namespace CyManager
{
    public partial class Ustock : Form
    {
        int msId = 0;
        decimal cost = 0;
        int scalar = 0;
        public static decimal money;
        CMenus ms = new CMenus();
        List<string> lCM = new List<string>();
        ListViewItem lviCM = new ListViewItem();
        public static ListViewItem lviCB = new ListViewItem();
        List<CMenus> lm = new List<CMenus>();//存储所有菜单信息
        /// <summary>
        /// 查询所有商品的事件
        /// </summary>
        public event Del EveMenusQuery;
        public Ustock()
        {
            InitializeComponent();
        }
        public Ustock(int m, decimal c, int s)
        {
            InitializeComponent();
            msId = m;
            cost = c;
            scalar = s;
        }
        private void Ustock_Load(object sender, EventArgs e)
        {

            money = 0;
            //获得进货单编号
            try
            {
                this.lblSId.Text = BLLstock.GetNewCG();
            }
            catch (Exception)
            {
                MessageBoxNew.Show("产生单号失败!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }

            QueryMenusSG();
            //V查询采购员
            List<CEmployees> le = new List<CEmployees>();
            try
            {
                le = BLLEmployees.BLLEmployeesCGYQuery();
            }
            catch (Exception)
后面还有 641 行代码,购买后查看完整代码

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

AI 解读 AI

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

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