コード例 #1
0
 private void SaveButton_Click(object sender, EventArgs e)
 {
     FileDialog.CheckFileExists = false;
     FileDialog.Title           = "Save Process";
     FileDialog.FileName        = "Process";
     if (FileDialog.ShowDialog(this) == DialogResult.OK)
     {
         var proc = new Sardauscan.Core.ProcessingTask.Process();
         proc.AddRange(SelectedTasks);
         proc.Save(FileDialog.FileName);
     }
 }
コード例 #2
0
        private void TaskBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            var proc = new Sardauscan.Core.ProcessingTask.Process();

            proc.AddRange(SelectedTasks);
            UpdateViewer(null);
            ScanData ret = proc.Run(null, ListDragTarget, sender as BackgroundWorker, e);

            if (e == null)
            {
                UpdateViewer(ret);
            }
        }
コード例 #3
0
		private void SaveButton_Click(object sender, EventArgs e)
		{
			FileDialog.CheckFileExists = false;
			FileDialog.Title = "Save Process";
			FileDialog.FileName = "Process";
			if (FileDialog.ShowDialog(this) == DialogResult.OK)
			{
				var proc = new Sardauscan.Core.ProcessingTask.Process();
				proc.AddRange(SelectedTasks);
				proc.Save(FileDialog.FileName);
			}
			
			

		}
コード例 #4
0
		private void TaskBackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
		{
			var proc = new Sardauscan.Core.ProcessingTask.Process();
			proc.AddRange(SelectedTasks);
			UpdateViewer(null);
			ScanData ret = proc.Run(null, ListDragTarget, sender as BackgroundWorker, e);
			if (e == null)
				UpdateViewer(ret);

		}