private void OnKill(ProcessInfoViewModel p) { Process.GetProcessById(p.ProcessId.Value)?.Kill(); }
private bool CanExecuateExplorerFolder(ProcessInfoViewModel process) { return(!string.IsNullOrWhiteSpace(this.ExecutablePath)); }
private void OnExplorerFolder(ProcessInfoViewModel process) { var folder = Path.GetDirectoryName(process.ExecutablePath); Process.Start(folder); }
internal void ChangeProcess(ProcessInfoViewModel processInfoViewModel) { _processId = processInfoViewModel?.ProcessId; StartTrace(); }