Пример #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!");
     }
 }
Пример #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!");
            }
        }
Пример #3
0
 private void SettingsCommit(SettingsData sd)
 {
     s.SettingsCommit(sd);
 }