Exemplo n.º 1
0
 void HandleOpenedProjectChanged(OpenedProjectEvent e)
 {
     /*this.analysisWindow = e.AnalysisWindow as IAnalysisWindow;
      * capturer = e.AnalysisWindow.Capturer;
      * player = e.AnalysisWindow.Player;
      * openedProject = e.Project as LMProject;*/
     this.projectType = e.ProjectType;
     if (e.Project == null)
     {
         dashboard = null;
     }
     else
     {
         dashboard = e.Project.Dashboard;
     }
     ReloadHotkeys();
 }
Exemplo n.º 2
0
        void HandleOpenedProjectChanged(OpenedProjectEvent e)
        {
            var player = e.AnalysisWindow?.Player;

            if (player == null && Player == null)
            {
                return;
            }
            else if (player != null)
            {
                Player = player;
            }

            OpenedProject         = e.Project;
            OpenedProjectType     = e.ProjectType;
            Player.LoadedPlaylist = null;
        }
Exemplo n.º 3
0
        void HandleOpenedProjectChanged(OpenedProjectEvent e)
        {
            this.openedProject = e.Project;
            this.projectType = e.ProjectType;
            this.filter = e.Filter;

            this.analysisWindow = e.AnalysisWindow;
            player = e.AnalysisWindow.Player;
            capturer = e.AnalysisWindow.Capturer;
        }
Exemplo n.º 4
0
 void HandleOpened(OpenedProjectEvent e)
 {
     MakeActionsSensitive(false);
 }
Exemplo n.º 5
0
 void HandleOpenedProjectChanged(OpenedProjectEvent e)
 {
     OpenedProject = e.Project as ProjectLongoMatch;
 }
Exemplo n.º 6
0
 void HandleOpenedProjectChanged(OpenedProjectEvent e)
 {
     this.analysisWindow = e.AnalysisWindow as IAnalysisWindow;
     capturer = e.AnalysisWindow.Capturer;
     player = e.AnalysisWindow.Player;
     openedProject = e.Project as ProjectLongoMatch;
     this.projectType = e.ProjectType;
     if (e.Project == null) {
         dashboard = null;
     } else {
         dashboard = e.Project.Dashboard;
     }
     ReloadHotkeys ();
 }
Exemplo n.º 7
0
        void HandleOpenedProjectChanged(OpenedProjectEvent e)
        {
            var player = e.AnalysisWindow?.Player;
            if (player == null && Player == null) {
                return;
            } else if (player != null) {
                Player = player;
            }

            OpenedProject = e.Project;
            OpenedProjectType = e.ProjectType;
            Player.LoadedPlaylist = null;
        }
Exemplo n.º 8
0
		void HandleOpenedProject (OpenedProjectEvent e)
		{
			openedProject = e.Project as ProjectLongoMatch;
		}
Exemplo n.º 9
0
 /// <summary>
 /// Handles when a project has been opened.
 /// </summary>
 /// <param name="evt">Evt.</param>
 void HandleOpenProject(OpenedProjectEvent evt)
 {
     LoadSessionProjectValues(evt.Project.ID);
 }