Example #1
0
        private void btnMapIn_Click(object sender, RoutedEventArgs e)
        {
            MapIO io = new MapIO();

            if (io.MapIn(cvsMain.Height, ref map))
            {
                cvsMain.Children.Clear();
                foreach (Info i in map.Index)
                {
                    cvsMain.Children.Add(i.Rect);
                }
                cvsMain.Children.Add(map.prevRect);
            }
        }
Example #2
0
        private void btnMapOut_Click(object sender, RoutedEventArgs e)
        {
            MapIO io = new MapIO();

            io.MapOut(map);
        }