Ejemplo n.º 1
0
    void on_button_tmp_folder_open_clicked(object o, EventArgs args)
    {
        string dir = UtilAll.GetTempDir();         //potser cal una arrobar abans (a windows)

        System.IO.FileInfo fInfo = new System.IO.FileInfo(dir);

        try {
            if (fInfo.Exists)
            {
                System.Diagnostics.Process.Start(dir);
            }
        } catch {
            new DialogMessage(Constants.MessageTypes.WARNING,
                              Constants.DirectoryCannotOpen + "\n\n" + dir);
        }

        LogB.Warning(dir);
    }