none
C# .net core 3.1 scrolling buttons off as program ends. RRS feed

  • Question

  • At the end of my program as it closes i want to scroll off some buttons off the page which has a background image.

    My first attempt just caused masses of flickering but it does it ok.

    So I added doublebuffered = true.

    It is now much faster and doesnt flicker, however the background gets corrupted as the buttons move over it.

    Double buffering doesn't update the back ground image.

    Any help would be appreciated.


    n.Wright

    Friday, February 28, 2020 3:37 AM

Answers

All replies

  • ASP.NET Core and MVC can be discussed at the ASP.NET forms, along with there is an HTML forum there too.

    http://forums.asp.net/


    • Edited by DA924x Friday, February 28, 2020 4:17 AM
    Friday, February 28, 2020 4:16 AM
  • ASP.NET Core and MVC can be discussed at the ASP.NET forms, along with there is an HTML forum there too.

    http://forums.asp.net/


    Its a winforms app.


    n.Wright

    Friday, February 28, 2020 4:19 AM
  • ASP.NET Core and MVC can be discussed at the ASP.NET forms, along with there is an HTML forum there too.

    http://forums.asp.net/


    Its a winforms app.


    n.Wright

    A 'page' and a 'winform' from a definition sense have two different meanings a 'page' implies Web page. Anyway, your best option is the below forum.

    https://social.msdn.microsoft.com/forums/en-us/home?forum=winforms

     
    Friday, February 28, 2020 4:33 AM
  • I found using this.refresh(); also updates the background whereas invalidate(); didnt.


    n.Wright

    Friday, February 28, 2020 4:36 AM