Exemplo n.º 1
0
        private void OnJobQueued(JobQueuedEventArgs e)
        {
            var control = new JobControl()
            {
                Job = e.Job, ActionsButtonsVisible = ShowActionsButtons
            };

            control.Fill(categoryContainer, languageContainer, playlistContainer, pscContainer);

            AddItem(control, e.Position);
        }
Exemplo n.º 2
0
        private void Builder_JobQueued(object sender, JobQueuedEventArgs e)
        {
            if (FindHistoryDataGridViewRow(e.Job) == null)
            {
                jobHistory.Insert(0, e.Job);
            }

            FindHistoryDataGridViewRow(e.Job).Cells[historyJobProgress.Name].Value = "대기 중";
            // 취소 가능한지 나타냄
            FindHistoryDataGridViewRow(e.Job).Tag = true;
        }
Exemplo n.º 3
0
 private void Uploader_JobQueued(object sender, JobQueuedEventArgs e)
 {
     Actions.Add(new JobChangedArgs(JobChangedType.Added, e));
 }