[Mono-winforms-list] New install of C Sharp, using System.Winforms not found
iBradleyAllen
ibradleyallen at gmail.com
Mon Feb 21 19:50:58 EST 2011
ok cool, I downloaded the files for windows and got it setup in visual
studio, then did debug in monodevelop and it worked; then made the file in
md. no it didnt have any visual designer for the winforms stuff, i had to
open a gtk# new solution and then it did. but i noticed adding items from
the toolbox into the design area some did not have any properties?
Its not acceptable to NOT have the visual designer mode. In the Microsoft
world there is the Expression Blend as an alternative toolbox designer,
using XAML which is awesome, anything like that available? or is that asking
too much?
On Mon, Feb 21, 2011 at 12:46 PM, Stifu [via Mono] <
ml-node+3318091-738239259-213829 at n4.nabble.com> wrote:
> "In the monodevelop there was some kind of design page, although different
> from visual studio;"
> It must have been the GTK# designer (an alternative to WinForms).
>
> "Can you describe how I would build it in visual studio but then test it on
>
> linux??"
> Just build your application normally on Windows, and then you can simply
> test your app directly on Linux (either the binaries or the sources, both
> are compatible with the Mono runtime and MonoDevelop respectively, without
> any changes). So it's all pretty straightforward.
>
> Note that no matter what, you *will* need to install the Mono WinForms
> package to run WinForms apps, if you don't already have it. It's installed
> by default in OpenSUSE if memory serves. Look for "winforms" in your package
> manager, to confirm it's there and installed.
>
> iBradleyAllen wrote:
> Hi,
> yes I meant system.windows.forms
>
> In the monodevelop there was some kind of design page, although different
> from visual studio;
>
> Can you describe how I would build it in visual studio but then test it on
> linux?? this is possible? if I could add emphasis and excitement in a
> question i would do it above.
>
> I did get the latest monodevelop downloaded, and it showed in the details
> that it was downgrading some and installing other stuff, afterwards i could
>
> open a default project, compile, run without doing any other coding, and it
>
> worked and displayed a blank window as expected. the first time i ran it
> got errors saying cannot find assembly this/that...then downloaded it from
> the site and it worked; so thats solved.
>
> I could NOT get the system.windows.forms add in. but WOW!! if i can build
> these in VS2008 and they work in the linux thats great.
>
> It would be so much more helpful to hear an overview of the process rather
> than try to figure it out from scratch
>
> thanks
>
> On Sun, Feb 20, 2011 at 1:19 AM, Stifu [via Mono] <
> ml-node+3314993-1938980173-213829 at n4.nabble.com> wrote:
>
> > Just checking: when you say "System.Winforms", you really mean
> > "System.Windows.Forms", right?
> >
> > Also, MonoDevelop has no WinForms designer. So I suggest you build your
> UI
> > on Windows (using Visual Studio or something else), then test your app on
>
> > Linux. The other option would be to build your app without using a
> designer,
> > which doesn't sound nice. Or use GTK# rather than WinForms, or something.
>
> >
> > Not sure what problem you're encountering with getting the latest Mono on
>
> > OpenSUSE, it should be pretty straightforward, if you're using the
> official
> > repo from the Mono download page. There's another tool in OpenSUSE to add
>
> > repo URLs, other than zypper, but I forgot what its name is. Then when
> > looking for new programs / updates, you should see all Mono 2.10
> packages.
> >
> > iBradleyAllen wrote:
> > I just downloaded and tried this out in openSuse 11.3 (which is also new
> to
> > me). Im familiar with C# from Visual Studio and want to make it work on
> > this.
> >
> > In a new solution i made a button, progressbar and double clicked the
> > button in the ide designer view hoping it would generate a method stub
> for
> > the OnClick event, but it didnt; I tried to manually make a delegate but
> it
> > got an error saying what is this += thing? eventually found the on click
>
> > event and added a messagebox.show or tried to, its not known.
> >
> > using system.winforms was not known. searching got a page that said
> > download it from svn.anon something, so i installed subversion and tried
> it
> > svn co svn://anonmonoproject whatever? connection refused.
> >
> > I installed the latest mono development from the main page using zypper.
> >
> > but i couldnt find or get the trunk/mcs to build it??
> >
> > So the big picture is that I want to setup the IDE to look like a windows
>
> > C# winforms platform;
> >
> > 2nd thing is to have these run in the suse linux
> > 3rd thing is to create the forms as threads
> >
> > thanks in advance
> >
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
>
> > below:
> >
> >
> http://mono.1490590.n4.nabble.com/New-install-of-C-Sharp-using-System-Winforms-not-found-tp3314875p3314993.html<http://mono.1490590.n4.nabble.com/New-install-of-C-Sharp-using-System-Winforms-not-found-tp3314875p3314993.html?by-user=t>
> > To unsubscribe from New install of C Sharp, using System.Winforms not
> > found, click here<
> http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3314875&code=aWJyYWRsZXlhbGxlbkBnbWFpbC5jb218MzMxNDg3NXwxODI4MTYyMjk=<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3314875&code=aWJyYWRsZXlhbGxlbkBnbWFpbC5jb218MzMxNDg3NXwxODI4MTYyMjk=&by-user=t>>.
>
> >
> >
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono.1490590.n4.nabble.com/New-install-of-C-Sharp-using-System-Winforms-not-found-tp3314875p3318091.html
> To unsubscribe from New install of C Sharp, using System.Winforms not
> found, click here<http://mono.1490590.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3314875&code=aWJyYWRsZXlhbGxlbkBnbWFpbC5jb218MzMxNDg3NXwxODI4MTYyMjk=>.
>
>
--
View this message in context: http://mono.1490590.n4.nabble.com/New-install-of-C-Sharp-using-System-Winforms-not-found-tp3314875p3318397.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20110221/3b72b5b7/attachment.html
More information about the Mono-winforms-list
mailing list