예제 #1
0
 public frmLocationEditor(List<Location> Locations, MapParser MapParser, LocationParser LocParser)
 {
     this.Locations = Locations;
     this.MapParser = MapParser;
     this.LocParser = LocParser;
     InitializeComponent();
 }
예제 #2
0
        public frmEditLocation(Location Loc, MapParser MapParser, LocationParser LocParser, bool NewLoc)
        {
            this.NewLoc = NewLoc;
            this.MapParser = MapParser;
            this.LocParser = LocParser;
            this.Loc = Loc;
            if(Loc!=null)
                LoadedPid = Loc.Pid;
            InitializeComponent();

            toolTip = new ToolTip();
            toolTip.SetToolTip(lblName, "Internal name, used to generate define (for _maps.fos)");
            toolTip.SetToolTip(lblWmName, "Worldmap name, shown in-game on the worldmap.");
        }