예제 #1
0
        private void butXml_Click(object sender, EventArgs e)
        {
            List <Game> games = new List <Game>();

            if (fastListView.SelectedIndices.Count > 0)
            {
                InfoItems inf = new InfoItems();
                if (inf.ShowDialog() == DialogResult.OK)
                {
                    Visibility.Update();
                    foreach (object item in fastListView.SelectedObjects)
                    {
                        Game g = (Game)item;
                        g.Visibility = Visibility;
                        g.Save();
                    }
                }
            }
        }