Exemplo n.º 1
0
        void ImportQueueFromZipMenuOnIdle(object state)
        {
            ProjectFileHandler project   = new ProjectFileHandler(null);
            List <PrintItem>   partFiles = project.OpenFromDialog();

            if (partFiles != null)
            {
                foreach (PrintItem part in partFiles)
                {
                    QueueData.Instance.AddItem(new PrintItemWrapper(new PrintItem(part.Name, part.FileLocation)));
                }
            }
        }
Exemplo n.º 2
0
        void importQueueButton_Click(object sender, MouseEventArgs mouseEvent)
        {
            ProjectFileHandler project   = new ProjectFileHandler(null);
            List <PrintItem>   partFiles = project.OpenFromDialog();

            if (partFiles != null)
            {
                foreach (PrintItem part in partFiles)
                {
                    QueueData.Instance.AddItem(new PrintItemWrapper(new PrintItem(part.Name, part.FileLocation)));
                }
            }
        }
Exemplo n.º 3
0
        void importQueueButton_Click(object sender, EventArgs mouseEvent)
        {
            ProjectFileHandler project = new ProjectFileHandler(null);

            throw new NotImplementedException();
#if false
            List <PrintItem> partFiles = project.OpenFromDialog();
            if (partFiles != null)
            {
                foreach (PrintItem part in partFiles)
                {
                    QueueData.Instance.AddItem(new PrintItemWrapper(new PrintItem(part.Name, part.FileLocation)));
                }
            }
#endif
        }
Exemplo n.º 4
0
        void ImportQueueFromZipMenuOnIdle(object state)
        {
            ProjectFileHandler project   = new ProjectFileHandler(null);
            List <PrintItem>   partFiles = project.OpenFromDialog();

            if (partFiles != null)
            {
                PrintQueueControl.Instance.RemoveAllChildren();
                foreach (PrintItem part in partFiles)
                {
                    PrintQueueControl.Instance.AddChild(new PrintQueueItem(part.Name, part.FileLocation));
                }
                PrintQueueControl.Instance.EnsureSelection();
                PrintQueueControl.Instance.Invalidate();
                PrintQueueControl.Instance.SaveDefaultQueue();
            }
        }
Exemplo n.º 5
0
        void importQueueButton_Click(object sender, MouseEventArgs mouseEvent)
        {
            ProjectFileHandler project   = new ProjectFileHandler(null);
            List <PrintItem>   partFiles = project.OpenFromDialog();

            if (partFiles != null)
            {
                PrintQueueControl.Instance.RemoveAllChildren();
                foreach (PrintItem part in partFiles)
                {
                    PrintQueueControl.Instance.AddChild(new PrintQueueItem(part.Name, part.FileLocation));
                }
                PrintQueueControl.Instance.EnsureSelection();
                PrintQueueControl.Instance.Invalidate();
                PrintQueueControl.Instance.SaveDefaultQueue();
            }
        }
Exemplo n.º 6
0
 void importQueueButton_Click(object sender, MouseEventArgs mouseEvent)
 {
     ProjectFileHandler project = new ProjectFileHandler(null);
     List<PrintItem> partFiles = project.OpenFromDialog();
     if (partFiles != null)
     {
         PrintQueueControl.Instance.RemoveAllChildren();
         foreach (PrintItem part in partFiles)
         {
             PrintQueueControl.Instance.AddChild(new PrintQueueItem(part.Name, part.FileLocation));
         }
         PrintQueueControl.Instance.EnsureSelection();
         PrintQueueControl.Instance.Invalidate();
         PrintQueueControl.Instance.SaveDefaultQueue();
     }
 }
 void ImportQueueFromZipMenuOnIdle(object state)
 {
     ProjectFileHandler project = new ProjectFileHandler(null);
     List<PrintItem> partFiles = project.OpenFromDialog();
     if (partFiles != null)
     {                
         foreach (PrintItem part in partFiles)
         {
             QueueData.Instance.AddItem(new PrintItemWrapper(new PrintItem(part.Name, part.FileLocation)));
         }
     }
 }
 void importQueueButton_Click(object sender, MouseEventArgs mouseEvent)
 {
     ProjectFileHandler project = new ProjectFileHandler(null);
     List<PrintItem> partFiles = project.OpenFromDialog();
     if (partFiles != null)
     {                
         foreach (PrintItem part in partFiles)
         {
             QueueData.Instance.AddItem(new PrintItemWrapper(new PrintItem(part.Name, part.FileLocation)));
         }
     }
 }
Exemplo n.º 9
0
 void ImportQueueFromZipMenuOnIdle(object state)
 {
     ProjectFileHandler project = new ProjectFileHandler(null);
     List<PrintItem> partFiles = project.OpenFromDialog();
     if (partFiles != null)
     {
         PrintQueueControl.Instance.RemoveAllChildren();
         foreach (PrintItem part in partFiles)
         {
             PrintQueueControl.Instance.AddChild(new PrintQueueItem(part.Name, part.FileLocation));
         }
         PrintQueueControl.Instance.EnsureSelection();
         PrintQueueControl.Instance.Invalidate();
         PrintQueueControl.Instance.SaveDefaultQueue();
     }
 }
Exemplo n.º 10
0
		private void importQueueButton_Click(object sender, EventArgs mouseEvent)
		{
			ProjectFileHandler project = new ProjectFileHandler(null);
			throw new NotImplementedException();
#if false
			List<PrintItem> partFiles = project.OpenFromDialog();
			if (partFiles != null)
			{
			foreach (PrintItem part in partFiles)
			{
			QueueData.Instance.AddItem(new PrintItemWrapper(new PrintItem(part.Name, part.FileLocation)));
			}
			}
#endif
		}