WinPSI/BM/FrmStoreInfo.cs

(开头部分) 10KB

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

using PSI.BLL;
using PSI.Common;
using PSI.Models.DModels;
using WinPSI.FModels;
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 WinPSI.BM
{
        public partial class FrmStoreInfo : Form
        {
                public FrmStoreInfo()
                {
                        InitializeComponent();
                }
                StoreBLL storeBLL = new StoreBLL();
                StoreTypeBLL stBLL = new StoreTypeBLL();
                public event Action ReLoadHandler;//刷新列表页
                private FInfoModel fModel = null;//页面传值的信息实体
                string oldName = "";//当前编辑前的仓库名称
                int oldTypeId = 0;//当前编辑前的仓库类别编号 
                private void FrmStoreInfo_Load(object sender, EventArgs e)
                {
                        Action act = () =>
                        {
                                if (this.Tag != null)
                                {
                                        fModel = this.Tag as FInfoModel;
                                }
                                if (fModel == null)
                                {
                                        MsgBoxHelper.MsgErrorShow("仓库信息初始化失败!");
                                        return;
                                }
                                InitDrpStoreTypes();//加载仓库类别下拉框
                                string lblTitleType = "";
                                switch (fModel.ActType)
                                {
                                        case 1:
                                                ClearInfo();
                                                lblTitleType = "新增";
                                                break;
                                        case 2:
                                                InitStoreInfo(fModel.FId);
                                                tsbtnClear.Enabled = false;
                                                lblTitleType = "修改";
                                                break;
                                        case 4:
                                                InitStoreInfo(fModel.FId);
                                                tsbtnClear.Enabled = false;
                                                tsbtnSave.Enabled = false;
                                                lblTitleType = "详情";
                                                break;
后面还有 171 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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