예제 #1
0
        public void AddItem(ProgressItem _newItem)
        {
            if (_newItem != null)
            {
                _listItem.Add(_newItem.job, _newItem);

                ListViewItem.ListViewSubItem subItem = null;
                ListViewItem lvi = _lvProgress.Items.Add(_newItem.job);
                lvi.ImageIndex = 0;
                subItem        = lvi.SubItems.Add(_newItem.job + "@ProgressBar");
                _lvProgress.AddEmbeddedControl(subItem, _newItem.ProgressBarControl);
            }
        }
예제 #2
0
		public void AddItem(ProgressItem _newItem)
		{
			if (_newItem != null)
			{
				_listItem.Add(_newItem.job,_newItem);
				
				ListViewItem.ListViewSubItem subItem = null;
				ListViewItem lvi =_lvProgress.Items.Add(_newItem.job);
				lvi.ImageIndex = 0;
				subItem = lvi.SubItems.Add(_newItem.job+"@ProgressBar");
				_lvProgress.AddEmbeddedControl(subItem, _newItem.ProgressBarControl);
			}
		}
예제 #3
0
		/// <summary>
		/// Add a new item in the list view of the progress page control
		/// </summary>
		/// <param name="_newItem">new item</param>
		public static void AddElementProgress(ProgressItem _newItem)
		{
			_mainForm.PProgress.AddItem(_newItem);
		}
예제 #4
0
 /// <summary>
 /// Add a new item in the list view of the progress page control
 /// </summary>
 /// <param name="_newItem">new item</param>
 public static void AddElementProgress(ProgressItem _newItem)
 {
     _mainForm.PProgress.AddItem(_newItem);
 }