[Mono-list] Seeking advice on using monodevelop to learn CSharp

Stephen Liu satimis at yahoo.com
Sun Apr 11 07:33:11 EDT 2010


Hi Stifu,


Thanks for your advice and URL.

To run the .dat file (mentioned in my previous posting) on both Windows and Linux, now I have to create 2 programs, one for Windows and another for Linux.  It is not convenient.  I'm looking for a solution, one program for both system.  Some folks suggest Java.  Any comment?  I'm now searching around for suggestion.


> Yes, if you make your program with MonoDevelop on Linux, it'll also work 
> on Windows as long as you install GTK# on Windows.

Whether you meant following packages for Windows on;
http://www.go-mono.com/mono-downloads/download.html

* Mono for Windows, Gtk#, and XSP
* Gtk# for .NET
* Mono Migration Analyzer


I don't know whether all windows have GTK# installed and running.  If NO, I have to request the user to install it.  It is NOT so convenient.


> If you have MonoDevelop, it is very likely that you already have GTK# 
> on your machine.

Monodevelop is running on Ubuntu 9.10 in this PC

I found following packages on its repo:-

$ apt-cache search gtk-sharp
gtk-sharp2-gapi - C source parser and C# code generator for GObject based APIs
libgtk2.0-cil - CLI binding for the GTK+ toolkit 2.12
gtk-sharp2 - GTK# 2.10 suite, CLI bindings for GTK+
gtk-sharp2-examples - sample applications for the GTK# 2.10 toolkit
libanculus0.3-cil - utility library for CLI projects
monodoc-anculus-manual - compiled XML documentation for libanculus-sharp


I haven't installed following packages:-
gtk-sharp2
gtk-sharp2-gapi
gtk-sharp2-examples

Whether GTK# needs them all?  Any further additional packages?  Thanks


> I suggest you look for GTK# tutorials to get started.

Ah, I found several tutorials now.  I must run "gtk-sharp" to search, NOT gtk#/GTK#

GtkSharp
http://www.mono-project.com/GtkSharp

GtkSharpBeginnersGuide
http://www.mono-project.com/GtkSharpBeginnersGuide

GtkSharp TreeView Tutorial - Mono
http://www.mono-project.com/GtkSharp_TreeView_Tutorial

C#/Gtk#/Glade# Tutorial on Debian Sid
http://www.michael.werle.name/Programming/CSharp/CSharp1.html

Getting started with gtk♯ (MonoDevelop)
http://wp.colliertech.org/cj/?p=818


B.R.
satimis





----- Original Message ----
From: Stifu <stifu at free.fr>
To: mono-list at lists.ximian.com
Sent: Sun, April 11, 2010 4:31:08 PM
Subject: Re: [Mono-list] Seeking advice on using monodevelop to learn CSharp


Yes, if you make your program with MonoDevelop on Linux, it'll also work on
Windows as long as you install GTK# on Windows.

If you have MonoDevelop, it is very likely that you already have GTK# on
your machine. I suggest you look for GTK# tutorials to get started.
Actually, I stumbled on one which was posted a few days ago:
http://wp.colliertech.org/cj/?p=818

The links you gave are not for GTK#, but for GTK+ (which is written in C).
GTK# is a C# wrapper around GTK+.
You can find GTK# on the Mono download page:
http://www.go-mono.com/mono-downloads/download.html
Under Windows, you'll find "Gtk# for .NET". So you'll need to include /
package this installer with your app for Windows users.


satimis wrote:
> 
> Hi Stifu,
> 
> 
>> If you want to develop on Linux, then yeah, go for MonoDevelop.
> 
> Whether you meant the program thus created can work on Linux and Windows? 
> This is a good idea rather than creating another program to work on Linux,
> one program for both system.  If YES please shed me more light.  TIA
> 
> 
>> You can use GTK# then, 
> 
> You meant
> 
> GTK#
> http://www.gtk.org/
> 
> 
>> but you'll need to add a 8 MB installation along with
>> your soft, for it to work on Windows.
> 
> To download and install on:
> Download
> http://www.gtk.org/download.html
> 
> ???
> 
> 
> Other advice noted and thanks.
> 
> 
> B.R.
> SL
> 
> 
> 
> 
> 
> 
> ----- Original Message ----
> From: Stifu <stifu at free.fr>
> To: mono-list at lists.ximian.com
> Sent: Sun, April 11, 2010 1:43:38 AM
> Subject: Re: [Mono-list] Seeking advice on using monodevelop to learn
> CSharp
> 
> 
> If you want to develop on Linux, then yeah, go for MonoDevelop.
> You can use GTK# then, but you'll need to add a 8 MB installation along
> with
> your soft, for it to work on Windows.
> 
> 
> satimis wrote:
>> 
>>> You'll probably want to have a look at System.DateTime.Today, 
>>> in order to retrieve the current date...
>> 
>> On CSharp ?
>> 
> 
> Yes, C# (as well as any other .NET language, as they all share the same
> namespaces / objects / API).
> -- 
> View this message in context:
> http://n4.nabble.com/Seeking-advice-on-using-monodevelop-to-learn-CSharp-tp1820057p1835530.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> Send instant messages to your online friends http://uk.messenger.yahoo.com 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://n4.nabble.com/Seeking-advice-on-using-monodevelop-to-learn-CSharp-tp1820057p1835892.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the Mono-list mailing list