コード例 #1
0
 /// <summary>
 /// Returns true if this application successfully registered for restart.
 /// </summary>
 public static bool Register()
 {
     return(Restart.Register(null, RestartModifiers.None));
 }
コード例 #2
0
 /// <summary>
 /// Returns true if this application successfully registered for restart.
 /// </summary>
 /// <param name="arguments">Command-line arguments for the application when it is restarted.</param>
 public static bool Register(string arguments)
 {
     return(Restart.Register(arguments, RestartModifiers.None));
 }
コード例 #3
0
ファイル: Restart [001].cs プロジェクト: bretlinne/Medo
 /// <summary>
 /// Returns true if this application successfully registered for restart.
 /// </summary>
 /// <param name="arguments">Command-line arguments for the application when it is restarted.</param>
 public static Boolean Register(String arguments)
 {
     return(Restart.Register(arguments, RestartModifiers.None));
 }