Exemplo n.º 1
0
 private void startAtLogin_CheckedChanged(object sender, EventArgs e)
 {
     if (myStartAtLoginCheckBox.Checked)
     {
         AutostartUility.SetAutoStart(myApplicationKey, Assembly.GetExecutingAssembly().Location);
     }
     else
     {
         AutostartUility.UnSetAutoStart(myApplicationKey);
     }
 }