Beispiel #1
0
 /// <summary> Display()
 /// Opens the GUI window
 /// if it isn't already Open.
 /// </summary>
 /// <returns>true iff the GUI was made visible</returns>
 internal static bool Display()
 {
     Custom.ConsoleLine("Display Called", ConsoleColor.White);
     //ReCalculate GUI data: Width & Icons/Programs.
     UpdateData();
     if (position.Y == 0 && freeApps.Length == 0)
     {
         position.Y = 1;
     }
     position.X0 = 1;
     myWindow.Show();
     Focus(myWindow.Handle);
     state    = BaltoState.Displayed;
     safteyOn = true;
     Update();
     Custom.ConsoleLine("Display Complete");
     return(true);
 }