Exemplo n.º 1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     settings s = new settings();
     grabber g = new xmltv_grabber(s);
     deft_xmltv_gui gui = new deft_xmltv_gui(g, s);
     if (File.Exists(s.xmltvpath + "xmltv.exe"))
     {
         s.SettingsCommit(s.sd);
         Application.Run(gui);
     }
     else
     {
         MessageBox.Show("Can't find xmltv.exe!");
     }
 }
Exemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            settings       s   = new settings();
            grabber        g   = new xmltv_grabber(s);
            deft_xmltv_gui gui = new deft_xmltv_gui(g, s);

            if (File.Exists(s.xmltvpath + "xmltv.exe"))
            {
                s.SettingsCommit(s.sd);
                Application.Run(gui);
            }
            else
            {
                MessageBox.Show("Can't find xmltv.exe!");
            }
        }