WorldEditor.frmEditLocation.frmEditLocation C# (CSharp) Method

frmEditLocation() public method

public frmEditLocation ( Location Loc, MapParser MapParser, LocationParser LocParser, bool NewLoc ) : System
Loc Location
MapParser MapParser
LocParser LocationParser
NewLoc bool
return System
        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.");
        }