Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="engine"></param>
 public static void Start(this IClientEngine engine)
 {
     if (Environment.Profile)
     {
         engine.Goto(InterfaceType.Start);
     }
     else
     {
         engine.SignUp(Environment.DevelopName, Environment.DevelopPwd.Md532());
         engine.SignIn(Environment.DevelopName, Environment.DevelopPwd.Md532());
         if (!engine.LoadProfile(Environment.DevelopProfileId))
         {
             engine.SaveProfile();
             engine.LoadProfile(Environment.DevelopProfileId);
         }
         engine.Goto(InterfaceType.Main);
     }
 }