예제 #1
0
        private void load_Click(object sender, RoutedEventArgs e)
        {
            if (list.SelectedItems.Count == 0)
            {
                return;
            }
            SavedInstance si = (SavedInstance)list.SelectedItem;

            _preview.Reset();
            _preview.Load(si.Board);
            _game.Load(si);
            Close();
        }