Example #1
0
 public Window_save_station(MainWindow mw, List_Stations ls)
 {
     MainWindow    = mw;
     List_Stations = ls;
     InitializeComponent();
     this.DataContext             = List_Stations;
     List_Stations.Request_answer = "Add here new radio station";
 }
Example #2
0
        public Get_Stream_Information(string link, List_Stations ls)
        {
            test_url      = link;
            List_Stations = ls;
            List_Stations.Request_answer = "Looking for request...";
            Thread t = new Thread(test_url_for_request);

            t.Start();
            t.Join();
        }
Example #3
0
        public MainWindow()
        {
            InitializeComponent();

            Organizer_MainView = new Organizer_MainView();
            List_Stations      = new List_Stations();

            this.DataContext = List_Stations;

            Initialize_Data();
        }
Example #4
0
        public Get_Stream_Information(Organizer_MainView omv, List_Stations li, int i)
        {
            select        = i;
            Omv           = omv;
            List_Stations = li;

            if (select == 0)
            {
                getdata = new Thread(Get_Data_actual_Stream);
                getdata.Start();
            }
            if (select == 1)
            {
                Thread getdata2 = new Thread(Get_Data_actual_Stream2);
                getdata2.Start();
            }
        }