FrmMain.cs

(开头部分) 36KB

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


using CCWin;
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Net;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Xml;

namespace Demo
{
    public partial class FrmMain : CCSkinMain
    {
        public FrmMain()
        {
            InitializeComponent();
            this.Text = String.Format("关于 {0}", AssemblyTitle);
            this.labelProductName.Text = "软件名称:"+AssemblyProduct;
            this.labelVersion.Text = String.Format("软件版本: {0}", AssemblyVersion);
            this.labelCopyright.Text = "软件版权:"+AssemblyCopyright;
            this.labelCompanyName.Text = "软件出品:"+AssemblyCompany;
            //this.textBoxDescription.Text = AssemblyDescription;
        }
        static public string strName = "";//记录读取时XML文件路径
        static public string strOnes = "";//定义两个变量保存文本框内的值
        static public string strTwo = "";
        static public string strThree = "";//保存子标记名称
        static public string strFour = "";//保存第二个子节点的属性名
        static public string strFive = "";//保存第二个节点的属性值
        static public string strSix = "";//保存节点路径

        private XmlDocument xmlDocument = new XmlDocument();
        private XmlNode xmlNode;
        private XmlElement xmlElement;
        DataSet dataSet = new DataSet();//声明此数据集,存储读取出的XML数据

        private void skinAnimatorImg1_MouseEnter(object sender, EventArgs e)
        {
            skinAnimatorImg2.Visible = true;
            skinAnimatorImg1.Visible = false;
        }

        private void FrmMain_Load(object sender, EventArgs e)
        {
            flowLayoutPanel2.Visible = false;
            skinToolStrip9.Visible = false;
            skinAnimatorImg2.Visible = false;
            this.Text = String.Format("雷电应用  版本 {0}", AssemblyVersion);
            #region 判断是否存在INI文件,如果存在就显示
            str = Application.StartupPath + "\\data.nxn";
            //此方法也可通过:str = System.AppDomain.CurrentDomain.BaseDirectory + @"Authorizations.nxn";
            strOne = System.IO.Path.GetFileNameWithoutExtension(str);
后面还有 962 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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