Example #1
0
        private void timerController_Tick(object sender, EventArgs e)
        {
            CheckInternetExplorerWindows();

            if (formPlay != null && !formPlay.IsPlayingVideo())
            {
                formPlay = null;
                KillInternetExplorerWindows();
            }
        }
Example #2
0
        private void ShowVideo()
        {
            if (formPlay == null)
            {
                List <String> tasksList = new List <String>();

                foreach (ListViewItem item in listViewTaskList.Items)
                {
                    tasksList.Add(item.Text);
                }

                formPlay = new FormPlayVideo(textBoxAnimationFile.Text, tasksList);
                elapsedProcrastinationTime = 0;
            }
        }