// W_internet.cs created with MonoDevelop // User: dmontalva at 13:28 09/03/2009 // // To change standard headers go to Edit->Preferences->Coding->Standard Headers // using System; using System.Threading; public partial class W_internet : Gtk.Window { public W_internet() : base(Gtk.WindowType.Toplevel) { this.Build(); this.Maximize(); } protected virtual void OnBTInternetClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.navegador; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTClientcorreuClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.correo; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTMissatgeriaClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.missatgeria; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTTelefoniaClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.telefonia; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTP2pClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.p2p; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTTornarClicked (object sender, System.EventArgs e) { Gtk.Widget fixed1 = MainWindow.main_window.getFixed(); MainWindow.main_window.Remove(this.fixed_internet); MainWindow.main_window.Add(fixed1); } public Gtk.Widget getFixed() { return this.fixed_internet; } }