/[NexusPowerControl]/trunk/NexusPowerControl/Form1.cs
ViewVC logotype

Diff of /trunk/NexusPowerControl/Form1.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by william, Sat Oct 22 21:35:13 2011 UTC revision 11 by william, Sat Oct 22 22:14:15 2011 UTC
# Line 28  namespace NexusPowerControl Line 28  namespace NexusPowerControl
28                  pic_main.Image = Image.FromFile(theme.MainImage);                  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)          private void btnShutdown_Click(object sender, EventArgs e)
# Line 57  namespace NexusPowerControl Line 64  namespace NexusPowerControl
64    
65          private void btnClose_Click(object sender, EventArgs e)          private void btnClose_Click(object sender, EventArgs e)
66          {          {
67                this.Close();
68          }          }
69    
70    
71        
72      }      }
73  }  }

Legend:
Removed from v.10  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.22