public frmWaiting() { InitializeComponent(); StartTimer(); WaitingLogic.PopulateListBox(listbxWaitingQueue); SaveData(GetVideo()); DataAccessLayer.DataAccessLayer.cm.CommandText = "select News from Settings"; strString = DataAccessLayer.DataAccessLayer.cm.ExecuteScalar().ToString(); }
private void RefreshTimer_Tick(object sender, EventArgs e) { WaitingLogic.PopulateListBox(listbxWaitingQueue); }