コード例 #1
0
 public TVController(ITMModel model, ThreadsView view, Process process) : this()
 {
     this.model   = model;
     this.view    = view;
     this.process = process;
     SetController();
     view.SetTitle(process.ProcessName);
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: dlexion/TaskManager
        public static void CreateThreadsWindow(System.Diagnostics.Process process)
        {
            ThreadsView  view       = new ThreadsView();
            ITMModel     model      = new TMModel();
            TVController controller = new TVController(model, view, process);

            view.Visible = true;
        }