⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 program.cs

📁 文件保护 文件保护 文件保护
💻 CS
字号:
#region Using directives

using System;
using System.IO;
using System.Collections.Generic;
using System.Windows.Forms;

#endregion

namespace DocumentProtector
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();

            // Create a new DocumentProtectorFrom and if a 
            // document path was specified with a command
            // line argument, open it in the form.
            DocumentProtectorForm form = new DocumentProtectorForm();

            form.Show();
            if ((args.Length == 1) && File.Exists(Path.GetFullPath(args[0])))
                form.OpenNewDocument(Path.GetFullPath(args[0]));

            Application.Run(form);
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -