Ejemplo n.º 1
0
        public ProjectExecutables FindActiveObject(FileName fileName)
        {
            ProjectExecutables activeObject = new ProjectExecutables();

            foreach (ProjectExecutables item in projectExecutables)
            {
                if (item.FileName == fileName)
                {
                    activeObject = item;
                }
                else
                {
                }
            }
            return(activeObject);
        }
Ejemplo n.º 2
0
 public void ChangeSelectedProgram()
 {
     Enum.TryParse <FileName>(selectFile.Text, out selectedFileName);
     ActiveObject = dataInitializer.FindActiveObject(selectedFileName);
     ChangeUI();
 }