ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/NexusPowerControl/trunk/NexusPowerControl/Form1.cs
(Generate patch)

Comparing trunk/NexusPowerControl/Form1.cs (file contents):
Revision 10 by william, Sat Oct 22 21:35:13 2011 UTC vs.
Revision 11 by william, Sat Oct 22 22:14:15 2011 UTC

# Line 28 | Line 28 | namespace NexusPowerControl
28                  pic_main.Image = Image.FromFile(theme.MainImage);
29              }
30  
31 +
32 +            btnShutdown.OnClickEvent += new EventHandler(btnShutdown_Click);
33 +            btnRestart.OnClickEvent += new EventHandler(btnRestart_Click);
34 +            btnLogoff.OnClickEvent += new EventHandler(btnLogoff_Click);
35 +            btnLockScreen.OnClickEvent += new EventHandler(btnLockScreen_Click);
36 +            btnSleep.OnClickEvent += new EventHandler(btnSleep_Click);
37 +            btnClose.OnClickEvent += new EventHandler(btnClose_Click);
38          }
39  
40          private void btnShutdown_Click(object sender, EventArgs e)
# Line 57 | Line 64 | namespace NexusPowerControl
64  
65          private void btnClose_Click(object sender, EventArgs e)
66          {
67 <
67 >            this.Close();
68          }
69 +
70 +
71 +    
72      }
73   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines