private void ButtonQuestorStatisticsClick(object sender, EventArgs e)
{
string path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
Process[] processes = System.Diagnostics.Process.GetProcessesByName("QuestorStatistics");
if (processes.Length == 0)
{
// QuestorStatistics
try
{
System.Diagnostics.Process.Start(path + "\\QuestorStatistics.exe");
}
catch (System.ComponentModel.Win32Exception ex)
{
Logging.Log("QuestorUI", "QuestorStatistics could not be launched the error was: " + ex.Message, Logging.Orange);
}
}
}