Conf.cs

(开头部分) 6KB

这里只显示每个文件的开头 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.IO;
namespace DataTransSafeMonitor
{
    public partial class Conf : Form
    {
        #region 属性--传控件值给主界面
        public string TextBoxRead
        {
            get { return INIClass.IniReadValue("Path", "readpath", Application.StartupPath + "\\conf.ini"); }
        }
        public string TextBoxSave
        {
            get { return INIClass.IniReadValue("Path", "savepath", Application.StartupPath + "\\conf.ini"); }
        }
        public string TextBoxCopy
        {
            get { return INIClass.IniReadValue("Path", "copypath", Application.StartupPath + "\\conf.ini"); }
        }
        public string IsCopy
        {
            get { return INIClass.IniReadValue("Other", "IsCopy", Application.StartupPath + "\\conf.ini"); }
        }
        #endregion

        #region 构造函数
        public Conf()
        {
            InitializeComponent();
        }
        #endregion

        #region 点击事件--关闭、路径选择
        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnFileReadPath_Click(object sender, EventArgs e)
        {
            if (folderBrowserDialogPath.ShowDialog() == DialogResult.OK)
            {
                if (folderBrowserDialogPath.SelectedPath.Substring(folderBrowserDialogPath.SelectedPath.Length - 1, 1) != "\\")
                {
                    this.txtFileReadPath.Text = folderBrowserDialogPath.SelectedPath + @"\";
                }
                else
                {
                    this.txtFileReadPath.Text = folderBrowserDialogPath.SelectedPath;
                }
            }
        }
后面还有 88 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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