Ejemplo n.º 1
0
 public MapAreaForm(MapArea area, Map m)
 {
     this.InitializeComponent();
     Application.Idle      += new EventHandler(this.Application_Idle);
     this.fArea             = area.Copy();
     this.MapView.Map       = m;
     this.MapView.Viewpoint = this.fArea.Region;
     this.NameBox.Text      = this.fArea.Name;
     this.DetailsBox.Text   = this.fArea.Details;
 }
Ejemplo n.º 2
0
        public MapAreaForm(MapArea area, Map m)
        {
            InitializeComponent();

            Application.Idle += new EventHandler(Application_Idle);

            fArea             = area.Copy();
            MapView.Map       = m;
            MapView.Viewpoint = fArea.Region;

            NameBox.Text    = fArea.Name;
            DetailsBox.Text = fArea.Details;
        }