应用/JaBeiSi/WMS_Service_Main/View/MainFrame.cs

(开头部分) 11KB

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

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraBars;
using DevExpress.XtraTab;
using DevExpress.XtraEditors;
using WMS_Interface;
 
using System.Configuration;
using CommonMoudle;
using WMS_Database;
 

namespace WMS_Service_Main
{
    public partial class MainFrame : ChildViewBase, IWMSFrame
    {
        private delegate void DelegateDispLog(string logSrc, string category,string level, string content);//委托,显示日志
        ServiceManageView serviceManageVieww = new ServiceManageView();
        MainPresenter mainPresenter = new MainPresenter();
        public MainFrame()
        {
            InitializeComponent();
        }
        private void MainView_Load(object sender, EventArgs e)
        {
            MainFrameHandler.SetMainFrame(this);
            //this.splitContainerControl1.SplitterPosition = (int)(this.splitContainerControl1.Height * 0.8);
            DatabaseCfg();
            Console.SetOut(new TextBoxWriter(this.richTextBoxLog));
            InitTabbedMDI();
         
            LoadForms();
            //this.mainPresenter.Init(this, FormCloseEventHandler);

            //string licenseFile = AppDomain.CurrentDomain.BaseDirectory + @"NBSSLicense.lic";
            //this.licenseMonitor = new LicenseMonitor(this, 60000, licenseFile, "zzkeyFT1");
            //if (!this.licenseMonitor.StartMonitor())
            //{
            //    throw new Exception("license 监控失败");
            //}
            //string reStr = "";
            //if (!this.licenseMonitor.IslicenseValid(ref reStr))
            //{
            //    MessageBox.Show(reStr);
            //    return;
            //}
        }
        #region 实现IWMS
        public int RoleLevel { get; set; }
        public void SetTabChangeEvent(EventHandler tabChangeEventHandler)
        {
            this.xtraTabbedMdiManager1.SelectedPageChanged += tabChangeEventHandler;
        }
后面还有 217 行代码,购买后查看完整代码

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

AI 解读 AI

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

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