Render() public method

public Render ( Bitmap screen ) : void
screen Bitmap
return void
コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: nicksi/AGENT.Contrib
        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);
        }