123456789101112131415161718192021222324252627282930313233343536 |
- using Client.MirGraphics;
- using System;
- using System.Windows.Forms;
- namespace ResourceEditor
- {
- public partial class Form1 : Form
- {
- MLibrary lib;
- public Form1()
- {
- InitializeComponent();
- }
- private void libs_DoubleClick(object sender, EventArgs e)
- {
- switch (libs.SelectedIndex)
- {
- case 0:
- lib = Libraries.Title;
- break;
- case 1:
- lib = Libraries.Mir3Horse;
- break;
- default:
- break;
- }
- listView1.Items.Clear();
- int size = lib.Count;
- for (int i = 0; i < size; i++)
- {
- listView1.Items.Add("位置:" + i);
- }
- }
- }
- }
|