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

📄 highscoresform.cs

📁 Line2008 by Do Minh Duc
💻 CS
字号:
/**********************************/
/*                                */
/* Author: BUI VAN NGHIA          */
/* Email: katatunix@yahoo.com     */
/*                 [May, 2008]    */
/*                                */
/**********************************/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Lines2008
{
	public partial class HighScoresForm : Form
	{
		public HighScoresForm()
		{
			InitializeComponent();

			PlayerList pl = HighScoresFunctions.readHighScores();
			ListViewItem[] listViewItems = new ListViewItem[10];
			for (int i = 0; i < 10; i++)
			{
				listViewItems[i] = new ListViewItem(pl.list[i].convert(i + 1), -1);
			}
			this.listView1.Items.AddRange(listViewItems);
		}

		private void buttonOK_Click(object sender, EventArgs e)
		{
			this.Close();
		}
	}
}

⌨️ 快捷键说明

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