Beispiel #1
0
 public About(TVBrowserControll con)
 {
     this.con = con;
     InitializeComponent();
     this.initVideoMode();
     this.refreshLanguage();
 }
Beispiel #2
0
        public Transfer(TVBrowserControll con)
        {
            this.con = con;
            InitializeComponent();
            Rectangle screen = Screen.PrimaryScreen.Bounds;

            this.initVideoMode();
            this.refreshLanguage();
        }
Beispiel #3
0
 public Details(Broadcast broadcast, TVBrowserControll con)
 {
     this.broadcast = broadcast;
     this.con       = con;
     this.elements  = new ArrayList();
     InitializeComponent();
     this.Text = "TV-Browser Mini: " + this.broadcast.getTitle();
     this.refreshLanguage();
     this.MinimizeBox = false;
     this.getInformation();
     this.disableElements();
 }
Beispiel #4
0
        public SearchStartingAt(TVBrowserControll con, Mainform main)
        {
            this.con  = con;
            this.main = main;
            InitializeComponent();
            this.refreshLanguage();
            this.ControlBox = true;
            Rectangle screen = Screen.PrimaryScreen.Bounds;

            this.Location = new Point((screen.Width - this.Width) / 2, (screen.Height - this.Height) / 2);
            this.init();
            this.broadcasts = new ArrayList();
        }
Beispiel #5
0
 public Search(TVBrowserControll con)
 {
     this.con = con;
     this.listViewBroadcasts = new CustomTVBrowserList(new System.Drawing.SizeF(this.Width, this.Height));
     InitializeComponent();
     this.initVideoMode();
     this.refreshLanguage();
     this.fillDates();
     this.fillChannels();
     this.fillElements();
     this.comboBoxDates.SelectedIndex   = 0;
     this.comboBoxElement.SelectedIndex = 0;
     this.lastSearchWord = "";
 }
Beispiel #6
0
        public Configuration(TVBrowserControll con)
        {
            this.con = con;
            InitializeComponent();

            string      name = Dns.GetHostName();
            IPHostEntry e    = Dns.Resolve(name);

            this.labelDNSValue.Text = name;
            this.labelIPValue.Text  = e.AddressList[0].ToString();


            this.initVideoMode();
            this.refreshLanguage();
            this.fillComboBoxHours();
            this.fillComboLanguages();
            this.MinimizeBox = false;
            this.load();
        }
Beispiel #7
0
 public Search(TVBrowserControll con, String search, bool exact, bool start)
 {
     this.con = con;
     this.listViewBroadcasts = new CustomTVBrowserList(new System.Drawing.SizeF(this.Width, this.Height));
     InitializeComponent();
     this.initVideoMode();
     this.refreshLanguage();
     this.fillDates();
     this.fillChannels();
     this.fillElements();
     this.comboBoxDates.SelectedIndex   = 0;
     this.comboBoxElement.SelectedIndex = 0;
     this.tbSearch.Text = search;
     if (exact)
     {
         this.checkBoxExact.Checked = true;
     }
     if (start)
     {
         this.bSearch_Click(null, null);
     }
     this.lastSearchWord = "";
     this.bSearch.Focus();
 }
 public TVBrowserDate(DateTime dt, TVBrowserControll con)
 {
     this.dt  = dt;
     this.con = con;
 }