Globals in multiple forms RRS feed

  • Question

  • Hey Guys!

    I've been started making a game with forms. I'm already stuck with the 1st form XD

    I want to make a variable that you can access through multiple forms, but I dont know how to do it.

    if you know it, feel free to reply.

    Kind regards,

    Tom Vos

    • Moved by Weiwei Cai Tuesday, November 17, 2015 8:25 AM not VS IDE problem.
    Saturday, November 14, 2015 3:04 PM


All replies

  • Hi TomVos,

    This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    If your problem is related to C#/C++( or other development language), please post your problem to the corresponding language forum for a better.

    Best Regards,

    Monday, November 16, 2015 9:08 AM
  • Hello,

    Depending on what form technology you are using, you can try posting to one of the following forums:

    Windows Forms General
    Windows Presentation Foundation (WPF)
    ASP.Net forums

    You could also ask in the proper language forum in the Visual Studio Languages forums on MSDN.

    However, be prepared to show what you have, and where the problem is.


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    • Proposed as answer by Mike Laughlin Thursday, November 19, 2015 11:17 PM
    • Marked as answer by Dave PatrickMVP Tuesday, December 1, 2015 3:04 PM
    Thursday, November 19, 2015 11:02 PM