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.
StephaneLenclud@0
     1
using System;
StephaneLenclud@0
     2
using System.Collections.Generic;
StephaneLenclud@0
     3
using System.ComponentModel;
StephaneLenclud@0
     4
using System.Data;
StephaneLenclud@0
     5
using System.Drawing;
StephaneLenclud@0
     6
using System.Linq;
StephaneLenclud@0
     7
using System.Text;
StephaneLenclud@0
     8
using System.Threading.Tasks;
StephaneLenclud@0
     9
using System.Windows.Forms;
StephaneLenclud@0
    10
using CsQuery;
StephaneLenclud@0
    11
using System.Diagnostics;
StephaneLenclud@0
    12
using System.Net;
StephaneLenclud@0
    13
StephaneLenclud@0
    14
StephaneLenclud@0
    15
StephaneLenclud@0
    16
namespace SatChanGen
StephaneLenclud@0
    17
{
StephaneLenclud@0
    18
    public partial class MainForm : Form
StephaneLenclud@0
    19
    {
StephaneLenclud@0
    20
        public MainForm()
StephaneLenclud@0
    21
        {
StephaneLenclud@0
    22
            InitializeComponent();
StephaneLenclud@0
    23
        }
StephaneLenclud@0
    24
StephaneLenclud@0
    25
        private void buttonGenerate_Click(object sender, EventArgs e)
StephaneLenclud@0
    26
        {
StephaneLenclud@1
    27
	        List<Channel> channels=KingOfSat.Parse("http://en.kingofsat.net/pack-skygermany.php");
StephaneLenclud@2
    28
			MediaPortal.Export(channels,"channels.xml");
StephaneLenclud@0
    29
        }
StephaneLenclud@0
    30
    }
StephaneLenclud@0
    31
}