private void btnClearLogs_Click(object sender, EventArgs e) { WindowsEventLog.DeleteCurrentSource(); btnFetchLogs.PerformClick(); }