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))); } } }
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 }
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(); } }
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 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))); } } }
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(); } }
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 }