Skip to content

Convert CS. FILE 2 GUI

Jenni Witzel

Asked Dec 9, 2008, 12:35 PM EST1 answer
Share
LinkedInX
How can I convert a CS. file to GUI Form?

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    +1
    I suppose that you have the cs code with the main entry point
    void main()
    {
       patati patata ... taranan
       Application.Run(new Form1());
    }

    Go Start>All Programms>Visual Studio 200x>Visual Studio tools>Visual Studio Command prompt then click it

    After that write

    SQL
    csc /out:C:\Myexe.exe [your path]\File.cs
    
    Then press enter
    
    if al think gona be all right no errors no code bugs then
    
    the exe will be generated for you, then browse to C:\
    click Myexe.exe and the form will appears from code like a phoneix raises from ash
    +1