Example #1
0
        public void LoadDefaultQueue()
        {
            RemoveAll();
            ManifestFileHandler manifest  = new ManifestFileHandler(null);
            List <PrintItem>    partFiles = manifest.ImportFromJson();

            if (partFiles != null)
            {
                foreach (PrintItem item in partFiles)
                {
                    AddItem(new PrintItemWrapper(item));
                }
            }
        }
Example #2
0
        public void LoadDefaultQueue()
        {
            RemoveAllChildren();
            ManifestFileHandler manifest  = new ManifestFileHandler(null);
            List <PrintItem>    partFiles = manifest.ImportFromJson();

            if (partFiles != null)
            {
                foreach (PrintItem part in partFiles)
                {
                    PrintQueueControl.Instance.AddChild(new PrintQueueItem(part.Name, part.FileLocation));
                }
            }
        }
Example #3
0
        public void LoadDefaultQueue()
        {
            RemoveAll();
            ManifestFileHandler manifest  = new ManifestFileHandler(null);
            List <PrintItem>    partFiles = manifest.ImportFromJson();

            if (partFiles != null)
            {
                foreach (PrintItem item in partFiles)
                {
                    AddItem(new PrintItemWrapper(item), -1, QueueData.ValidateSizeOn32BitSystems.Skip);
                }
            }
            RemoveAllSdCardFiles();
        }
		public void LoadDefaultQueue()
		{
			RemoveAll();
			ManifestFileHandler manifest = new ManifestFileHandler(null);
			List<PrintItem> partFiles = manifest.ImportFromJson();
			if (partFiles != null)
			{
				foreach (PrintItem item in partFiles)
				{
					AddItem(new PrintItemWrapper(item), -1, QueueData.ValidateSizeOn32BitSystems.Skip);
				}
			}
			RemoveAllSdCardFiles();
		}