//Form_Load
    private void frmDocumentationTool_Load(object sender, System.EventArgs e)
    {
        //Position und Größe aus Settings lesen
#if !DEBUG
        Eplan.EplApi.Base.Settings oSettings = new Eplan.EplApi.Base.Settings();
        if (oSettings.ExistSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Top"))
        {
            this.Top = oSettings.GetNumericSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Top", 0);
        }
        if (oSettings.ExistSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Left"))
        {
            this.Left = oSettings.GetNumericSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Left", 0);
        }
        if (oSettings.ExistSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Height"))
        {
            this.Height = oSettings.GetNumericSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Height", 0);
        }
        if (oSettings.ExistSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Width"))
        {
            this.Width = oSettings.GetNumericSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.Width", 0);
        }
        if (oSettings.ExistSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.toolStripMenuHerstellerVerzeichnis"))
        {
            this.toolStripMenuHerstellerVerzeichnis.Checked = oSettings.GetBoolSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.toolStripMenuHerstellerVerzeichnis", 0);
        }
        if (oSettings.ExistSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.toolStripMenuArtikelnummerVerzeichnis"))
        {
            this.toolStripMenuArtikelnummerVerzeichnis.Checked = oSettings.GetBoolSetting("USER.SCRIPTS.DOCUMENTATION_TOOL.toolStripMenuArtikelnummerVerzeichnis", 0);
        }
#endif

        //Titelzeile anpassen
        string sProjekt = string.Empty;
#if DEBUG
        sProjekt = "DEBUG";
#else
        CommandLineInterpreter cmdLineItp     = new CommandLineInterpreter();
        ActionCallingContext   ProjektContext = new ActionCallingContext();
        ProjektContext.AddParameter("TYPE", "PROJECT");
        cmdLineItp.Execute("selectionset", ProjektContext);
        ProjektContext.GetParameter("PROJECT", ref sProjekt);
        sProjekt = Path.GetFileNameWithoutExtension(sProjekt);         //Projektname Pfad und ohne .elk
        if (sProjekt == string.Empty)
        {
            Decider            eDecision = new Decider();
            EnumDecisionReturn eAnswer   = eDecision.Decide(EnumDecisionType.eOkDecision, "Es ist kein Projekt ausgewählt.", "Documentation-Tool", EnumDecisionReturn.eOK, EnumDecisionReturn.eOK);
            if (eAnswer == EnumDecisionReturn.eOK)
            {
                Close();
                return;
            }
        }
#endif
        Text = Text + " - " + sProjekt;

        //Button Extras Text festlegen
        //btnExtras.Text = "            Extras           ▾"; // ▾ ▼

        //Zielverzeichnis vorbelegen
#if DEBUG
        txtZielverzeichnis.Text = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) + @"\Test";
#else
        txtZielverzeichnis.Text = PathMap.SubstitutePath(@"$(DOC)");
#endif

        // Temporären Dateinamen festlegen
#if DEBUG
        string sTempFile = Path.Combine(Application.StartupPath, "tmp_Projekt_Export.epj");
#else
        string sTempFile = Path.Combine(PathMap.SubstitutePath(@"$(TMP)"), "tmpDocumentationTool.epj");
#endif

        //Projekt exportieren
#if !DEBUG
        PXFexport(sTempFile);
#endif

        //PXF Datei einlesen und in Listview schreiben
        PXFeinlesen(sTempFile);

        //PXF Datei wieder löschen
#if !DEBUG
        File.Delete(sTempFile);
#endif
    }