private void DatabaseSelect_Load(object sender, EventArgs e)
        {
            var database = TitleDatabase.GetDatabase();

            foreach (var title in database)
            {
                listBox_titles.Items.Add(title.Name + " (" + title.TitleID.ToString("X16") + ")");
            }
        }
示例#2
0
        private void DatabaseManager_Load(object sender, EventArgs e)
        {
            Database = TitleDatabase.GetDatabase();

            foreach (var title in Database)
            {
                listBox_titles.Items.Add(title.Name);
            }
        }
示例#3
0
        //select pass and tid
        private void button_select_Click(object sender, EventArgs e)
        {
            DatabaseSelect selector = new DatabaseSelect();

            if (selector.ShowDialog() == DialogResult.OK)
            {
                var title = TitleDatabase.GetDatabase()[selector.SelectedIndex];
                textBox_tid.Text  = title.TitleID.ToString("X16");
                textBox_pass.Text = title.Passphrase;
            }
        }