GetPath() public méthode

public GetPath ( string pathIdentifier ) : string
pathIdentifier string
Résultat string
        private void Formsetup_Load(object sender, EventArgs e)
        {
            // ==========================================================
            // Reading XML Extension Config
            // ==========================================================
            _extConf = new ExtensionConfiguration();
            _extConf.ReadConfig();

            // ==========================================================
            // Find Pathes for Game Folders etc.
            // ==========================================================
            _pathFinder = new PathFinder();
            _pathFinder.GatherPathes();

            //Check if we know our dirs
            tb_sc1dir.Text = _pathFinder.GetPath("%SC1_INSTALL_PATH%");

            tb_sc2dir.Text = _pathFinder.GetPath("%SC2_INSTALL_PATH%");

            tb_wc3dir.Text = _pathFinder.GetPath("%WC3_INSTALL_PATH%");
        }