Form1.cs

(开头部分) 18KB

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

using System;
using System.Collections;
using System.IO;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using IniParser;
using IniParser.Model;
using Newtonsoft.Json;
using static System.Collections.Specialized.BitVector32;
using static System.Runtime.InteropServices.JavaScript.JSType;
using static System.Windows.Forms.ListViewItem;

namespace 小说
{
    public partial class Form1 : Form
    {
        private Hashtable currentBook;
        private ArrayList arrlist;
        private readonly string bookRoot = "./files";
        private string savePath;
        private string fileName;
        private string configPath = "./config.ini";

        public Form1()
        {
            InitializeComponent();

        }
        private void Form1_Load(object sender, EventArgs e)
        {
            this.moduleInit();
        }
        private void moduleInit()
        {
            this.treeViewInit();//书籍菜单初始化
            this.loadCustomControll();//阅读页面初始加载
            this.loadBook();//上次阅读数据初始化
        }
        private void loadCustomControll()
        {
            this.customControl11.ContextMenuStrip = this.contextMenuStrip1;
            //SelectionHangingIndent 属性的值仅适用于在第一行下方换行的段落中的行。
            //整数,该整数表示段落第一行文本的左边缘与同一段落中后面的行的左边缘之间的距离(以像素为单位)。
            this.customControl11.SelectionHangingIndent = 0;
            //整数,该整数表示控件的左边缘与文本的左边缘之间的距离(以像素为单位)
            this.customControl11.SelectionIndent = 20;
            //整数,该整数表示控件的右边缘与文本的右边缘之间的距离(以像素为单位)
            this.customControl11.SelectionRightIndent = 20;

            //右键菜单 字体 字号 初始化
            this.loadFontsFamily();//customControl11右键字体
            this.loadPt();//customControl11右键字号

            //customControll11字体字号初始化
            this.loadFonts();

        }
        private void loadFonts()
        {
            FileIniDataParser parser = new FileIniDataParser();
后面还有 444 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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