Exemplo n.º 1
0
        // 艦隊メンバを表示
        private void lvBattle_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (lvBattle.SelectedIndices.Count == 0)
            {
                return;
            }

            LogData.BattleResultInfo item = _logManager.GetBattleResultItem(lvBattle.SelectedIndices[0]);

            using (FormBattleResultDetail dlg = new FormBattleResultDetail())
            {
                dlg.Info          = item;
                dlg.StartPosition = FormStartPosition.CenterParent;
                dlg.ShowDialog();
            }
        }
Exemplo n.º 2
0
        // 艦隊メンバを表示
        private void lvBattle_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            if (lvBattle.SelectedIndices.Count == 0)
                return;

            LogData.BattleResultInfo item = _logManager.GetBattleResultItem(lvBattle.SelectedIndices[0]);

            using (FormBattleResultDetail dlg = new FormBattleResultDetail())
            {
                dlg.Info = item;
                dlg.StartPosition = FormStartPosition.CenterParent;
                dlg.ShowDialog();
            }
        }