Two things I missed when I moved from Firefox to Opera were the smart bookmarks which I had configured in Firefox to post to my delicious account and to subscribe to a feed using bloglines. It turns out Opera has custom buttons.
After finding the Del.Icio.Us custom buttons, I was able to make my own for bloglines.
s/bl <—drag this link to your Opera menu bar
Just drag this link into your menu. I like to name my s/bl for subscribe with bloglines. I like tiny abbreviations so that my menu doesn’t fill up.
Yes, I am crazy. Why would any programmer want this combination? I think it is a combination of wanting to work with the best tools, in this case Visual Studio 2008 and CodeRush and wanting to target Win32, OSX, and Linux all at once. The very nice part is that thanks to the hard work of other people, you don’t even have to run in Mono on Win32.
- Create a new Windows Forms Project in Visual Studio.
Its fine to keep 3.5 framework selected. Mono supports the core parts of 3.5.
- Remove the references to System.Windows.Forms.dll
- Add reference to atk-sharp, glib-sharp and gtk-sharp in the following paths:
C:\Program Files (x86)\Medsphere\Gtk# Runtime\lib\gtk-sharp-2.0\atk\atk-sharp.dll
C:\Program Files (x86)\Medsphere\Gtk# Runtime\lib\gtk-sharp-2.0\glib\glib-sharp.dll
C:\Program Files (x86)\Medsphere\Gtk# Runtime\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll
- Change your Platform target to x86 from AnyCPU in the project properties.
- Write some test code
static void Main()
Window myWin = new Window("My first GTK# Application! ");
myWin.Destroyed += new EventHandler(myWin_Destroyed);
Label myLabel = new Label();
myLabel.Text = "Hello World!!!!";
static void myWin_Destroyed(object sender, EventArgs e)
- Run the application
Enjoy your 3rd option for a pure .NET programming GUI Toolkit on Win32. Winforms and WPF are great, but GTK# does fill a certain niche.