MainForm.cs
author StephaneLenclud
Fri, 15 May 2015 15:16:18 +0200
changeset 2 d73e99c5333c
parent 1 f203331a8f4a
child 3 01a00603ec28
permissions -rw-r--r--
First MP export draft.
     1 using System;
     2 using System.Collections.Generic;
     3 using System.ComponentModel;
     4 using System.Data;
     5 using System.Drawing;
     6 using System.Linq;
     7 using System.Text;
     8 using System.Threading.Tasks;
     9 using System.Windows.Forms;
    10 using CsQuery;
    11 using System.Diagnostics;
    12 using System.Net;
    13 
    14 
    15 
    16 namespace SatChanGen
    17 {
    18     public partial class MainForm : Form
    19     {
    20         public MainForm()
    21         {
    22             InitializeComponent();
    23         }
    24 
    25         private void buttonGenerate_Click(object sender, EventArgs e)
    26         {
    27 	        List<Channel> channels=KingOfSat.Parse("http://en.kingofsat.net/pack-skygermany.php");
    28 			MediaPortal.Export(channels,"channels.xml");
    29         }
    30     }
    31 }