// W_multimedia.cs created with MonoDevelop // User: dmontalva at 11:46 09/03/2009 // // To change standard headers go to Edit->Preferences->Coding->Standard Headers // using System; using System.Threading; public partial class W_multimedia : Gtk.Window { public W_multimedia() : base(Gtk.WindowType.Toplevel) { this.Build(); this.Maximize(); } protected virtual void OnBTVideoClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.video; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTRepaudioClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.audio; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTGrabadorClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.grabador; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTEscanejarClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.escaner; Utils.arguments=""; Thread proceso = new Thread (new ThreadStart (Utils.lanzarThread)); proceso.Start (); } protected virtual void OnBTEditimatgeClicked (object sender, System.EventArgs e) { Utils.filename=W_configurar.edimatges; 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_multimedia); MainWindow.main_window.Add(fixed1); } public Gtk.Widget getFixed() { return this.fixed_multimedia; } }