private void buttonGetSettings_Click(object sender, EventArgs e) { StringBuilder filePath = new StringBuilder(); Boolean result = RemoteCall.GetSettingFile(filePath); if (result) { AppendLog(String.Format("Success: taskList file: {0}", filePath.ToString())); Process.Start(filePath.ToString()); } else { this.listBoxLog.Items.Add(String.Format("Failed to get taskList")); } }