{"action":"created","issue":{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/141","repository_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI","labels_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/141/comments","events_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/141/events","html_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/141","id":183077626,"number":141,"title":"Use data bind kai","user":{"login":"yumetodo","id":10869046,"avatar_url":"https://avatars.githubusercontent.com/u/10869046?v=3","gravatar_id":"","url":"https://api.github.com/users/yumetodo","html_url":"https://github.com/yumetodo","followers_url":"https://api.github.com/users/yumetodo/followers","following_url":"https://api.github.com/users/yumetodo/following{/other_user}","gists_url":"https://api.github.com/users/yumetodo/gists{/gist_id}","starred_url":"https://api.github.com/users/yumetodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yumetodo/subscriptions","organizations_url":"https://api.github.com/users/yumetodo/orgs","repos_url":"https://api.github.com/users/yumetodo/repos","events_url":"https://api.github.com/users/yumetodo/events{/privacy}","received_events_url":"https://api.github.com/users/yumetodo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/labels/do_not_marge(working)","name":"do_not_marge(working)","color":"ee827c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-14T15:19:13Z","updated_at":"2016-10-14T15:20:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/pulls/141","html_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/141","diff_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/141.diff","patch_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/141.patch"},"body":"try to fix conflict #104 "},"comment":{"url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/comments/253832323","html_url":"https://github.com/YSRKEN/KanColleSimulator_KAI/pull/141#issuecomment-253832323","issue_url":"https://api.github.com/repos/YSRKEN/KanColleSimulator_KAI/issues/141","id":253832323,"user":{"login":"yumetodo","id":10869046,"avatar_url":"https://avatars.githubusercontent.com/u/10869046?v=3","gravatar_id":"","url":"https://api.github.com/users/yumetodo","html_url":"https://github.com/yumetodo","followers_url":"https://api.github.com/users/yumetodo/followers","following_url":"https://api.github.com/users/yumetodo/following{/other_user}","gists_url":"https://api.github.com/users/yumetodo/gists{/gist_id}","starred_url":"https://api.github.com/users/yumetodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yumetodo/subscriptions","organizations_url":"https://api.github.com/users/yumetodo/orgs","repos_url":"https://api.github.com/users/yumetodo/repos","events_url":"https://api.github.com/users/yumetodo/events{/privacy}","received_events_url":"https://api.github.com/users/yumetodo/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T15:20:30Z","updated_at":"2016-10-14T15:20:30Z","body":"```cs\r\n\t\tprivate void FleetSelectComboBox_SelectedIndexChanged(object sender, EventArgs e) {\r\n\t\t\tif(FleetSelectComboBox.SelectedIndex == -1)\r\n\t\t\t\treturn;\r\n\t\t\t// 表示する艦隊を切り換える\r\n\t\t\tKammusuSelectListBox.DataSource = FormFleet.unit[FleetSelectComboBox.SelectedIndex];\r\n\t\t}\r\n```\r\n\r\nしていて、そのあとで\r\n\r\n```cs\r\n\t\tprivate void AddKammusuButton_Click(object sender, EventArgs e) {\r\n\t\t\tvar kammusu = (CsvDataSet.ShipsRow)KammusuNameComboBox.SelectedItem;\r\n\t\t\tif (kammusu == null || FleetSelectComboBox.SelectedIndex == -1)\r\n\t\t\t\treturn;\r\n\t\t\t// 1艦隊には6隻まで\r\n\t\t\tif(FormFleet.unit[FleetSelectComboBox.SelectedIndex].Count == MaxUnitSize)\r\n\t\t\t\treturn;\r\n\t\t\t// 艦娘データを作成する\r\n\t\t\tvar id = kammusu.艦船ID;\r\n\t\t\tvar level = KammusuLevelTextBox.Text.ParseInt();\r\n\t\t\tvar luck = KammusuLuckTextBox.Text.ParseInt();\r\n\t\t\tvar cond = KammusuCondTextBox.Text.ParseInt();\r\n\t\t\tvar setKammusu = new Kammusu(id, level, luck, cond);\r\n\t\t\t// 作成した艦娘データを追加する\r\n\t\t\tFormFleet.unit[FleetSelectComboBox.SelectedIndex].Add(setKammusu);\r\n\t\t\tRedrawAntiAirScore();\r\n\t\t\tRedrawSearchPower();\r\n\t\t\tfile_state_modified(FileState.modified);\r\n\t\t}\r\n```\r\n\r\nとしても``KammusuSelectListBox.DataSource``は更新されないのか。"}}
{"actor":{"display_login":"yumetodo"}}