Message-ID: <529900664.2705.1422505362757.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2704_1783617191.1422505362757" ------=_Part_2704_1783617191.1422505362757 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Mini browser in less than 100 lines=20
In this example we'll use Glade# to construct the GUI of the application= , and then use Gecko# to add the actual browser component.=20 =20
The design of the GUI is entirely up to you, all you need is a few butto=
ns for basic actions, like Back,Forward,Refresh and etc, and a placeholder =
for Mozilla's Webcontrol.
For each button prepare a Clicked signals, = and write down their names. We'll write handlers for them later on.
You can find my Glade generated at the end of the article.=20
Basic idea of constructing Glade application is as follows:=20
So, here's the code:=20 =20
And here's the Glade-generated GUI file:=20 =20
Since, we've specified the list of assemblies that need to be referenced= in the import section, all the is left now is to run the application:= =20 =20
Or even compile it into executable, and then run it:=20 =20
That's it! Have fun boo-ing!=20