public static void Main() { var screen = new Bitmap(Bitmap.MaxWidth, Bitmap.MaxHeight); //new up our calculator var calc = new Calculator(); //let it render itself calc.Render(screen); Debug.Print("Sleeping..."); Thread.Sleep(Timeout.Infinite); }
public static void Main() { Agent.Contrib.Hardware.ButtonHelper.ButtonSetup = new Buttons[]{ Buttons.TopRight, Buttons.MiddleRight, Buttons.BottomRight}; var screen = new Bitmap(Bitmap.MaxWidth, Bitmap.MaxHeight); //new up our calculator var calc = new Calculator(); //let it render itself calc.Render(screen); Debug.Print("Sleeping..."); Thread.Sleep(Timeout.Infinite); }