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

📄 write_name.cs

📁 扫雷源代码,能智能形成堆栈与线程技术应用,是个很有用的游戏开发软件
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MineSweeping
{
    public partial class Write_Name : Form
    {
        public Write_Name()
        {
            InitializeComponent();
        }
        public static bool ShowSelf(IWin32Window parent, Point location, string grade, ref string name)
        {
            bool result;
            Write_Name n = new Write_Name();
            n.label1.Text = "已破" + grade + "记录。";
            n.textBox1.Text = name;
            n.Location = location;
            if (n.ShowDialog() == DialogResult.OK)
            {
                name = n.textBox1.Text;
                result = true;
            }
            else
                result = false;
            n.Dispose();
            n = null;
            return result;
        }
    }
}

⌨️ 快捷键说明

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