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

📄 program.cs

📁 编写一个“密室寻宝”算法(以下简称算法)
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Windows.Forms;

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

            MainForm form = new MainForm();
            if (args != null)
            {
                if (args.Length == 1)
                {
                    form.LoadExplorer(args[0]);
                }
                else if (args.Length == 2)
                {
                    form.LoadExplorer(args[0]);
                    form.LoadMap(args[1]);
                }
            }
            Application.Run(form);
        }
    }
}

⌨️ 快捷键说明

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