コード例 #1
0
ファイル: MainWindow.cs プロジェクト: drunderscore/Qso
 private void MainWindow_Load(object sender, EventArgs e)
 {
     uiLoot = QsoApi.GetMyPlayerLoot();
     allLootCombo.DataSource   = uiLoot;
     recipesCombo.DataSource   = uiRecipes;
     contentFilterTextbox.Text = string.Join(Environment.NewLine, QsoApi.GetContentFilters());
     gameTypeCombo.Items.AddRange(Enum.GetNames(typeof(GameType)));
     mapCombo.Items.AddRange(Enum.GetNames(typeof(MapID)));
     botChampionCombo.Items.AddRange(Enum.GetNames(typeof(ChampionID)));
     botChampionCombo.Sorted = true;
     botTeamCombo.Items.AddRange(Enum.GetNames(typeof(TeamID)));
     queues = QsoApi.GetQueues();
     queueTypesCombo.DataSource    = queues;
     queueTypesCombo.DisplayMember = "Name";
 }