Exemplo n.º 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);
            }
        }
Exemplo n.º 2
0
        private void btnMapOut_Click(object sender, RoutedEventArgs e)
        {
            MapIO io = new MapIO();

            io.MapOut(map);
        }