Skip to content

Commit

Permalink
Update Form1.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
ceramicskate0 authored Sep 25, 2018
1 parent 740051c commit 70daba9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Form1.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Text;
Expand Down Expand Up @@ -29,7 +30,17 @@ public Form1(string[] args)

private void notifyIcon1_MouseDoubleClick(object sender, MouseEventArgs e)
{
Process.Start("mmc.exe","\"C:\\WINDOWS\\system32\\eventvwr.msc\" /s");
}

private void notifyIcon1_MouseClick(object sender, MouseEventArgs e)
{
Environment.Exit(0);
}

private void notifyIcon1_BalloonTipClicked(object sender, EventArgs e)
{
Process.Start("mmc.exe", "\"C:\\WINDOWS\\system32\\eventvwr.msc\" /s");
}
}
}

0 comments on commit 70daba9

Please sign in to comment.