/// <summary>
/// Apre una folder e seleziona un file passato da "path_to_invoice"
/// </summary>
/// <param name="path_to_invoice"></param>
public static void mostra_pdf_invoice(string path_to_invoice)
{
string filePath = path_to_invoice;
if (!File.Exists(filePath))
{
MessageBox.Show("You must first Generate an Invoice");
return;
}
// combine the arguments together
// it doesn't matter if there is a space after ','
string argument = "/select, \"" + filePath + "\"";
System.Diagnostics.Process.Start("explorer.exe", argument);
}