static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Console.Clear(); //Console.SetBufferSize(150, Console.BufferHeight); //Console.SetWindowSize(150, Console.WindowHeight + 3); IntPtr hWndConsole = GetConsoleWindow(); ShowWindow(hWndConsole, SW_MINIMIZE); /* Setup API */ { //ConAPI.Write("§cEnter API KEY§r : §3", true, "§3APIKEY"); //string apiKey = ConAPI.readPassword(); // Not needed for some of the api livecodingAPI = new API.Engine.LiveCodingAPI( System.IO.File.ReadAllText("bin/client_ID.txt"), System.IO.File.ReadAllText("bin/client_Secret.txt") ); } Application.Run(new GUI.MainGUI()); }
public WebEngine(LiveCodingAPI lca) { client = new WebClient(); this. engine = lca; }
public APIEngine(LiveCodingAPI engine) { this.engine = engine; }
public WebEngine(LiveCodingAPI lca) { client = new WebClient(); this.engine = lca; }