MainFrm.cs

(开头部分) 5KB

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

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

using WeifenLuo.WinFormsUI.Docking;

using CodeGen;

namespace DockPanelSample
{
    public partial class MainFrm : Form
    {
        public MainFrm()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Template.InitCodeObjects();
            Application.Run(new DockPanelSample.MainFrm());
        }


        /// <summary>
        /// 配置文件的最后改动时间。
        /// </summary>
        private static DateTime fileUpDate;

        private void MainFrm_Load(object sender, EventArgs e)
        {
            fileUpDate = File.GetLastWriteTime(ReadXML.XmlFileName);

            try
            {
                this.dcpMain.DockRightPortion = 0.12;
                this.dcpMain.DockLeftPortion = 0.20;

                this.fmTableColumnInfo = new TableColumnInfo();

                this.fmTableTree = new TableTree();

                this.fmTableMenum = new TableMenum();

                this.fmAllColumns = new AllColumns();

                this.fMainInput = new MainInput();

                this.userCodePanel = new UserTemplate();
                this.recordsPanel = new Records();

后面还有 110 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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