コード例 #1
0
ファイル: Program.cs プロジェクト: Needix/Helper_SortProjects
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            GUIView view = new GUIView();
            GUIController controller = new GUIController(view); //Controller is saved in view as reference
            view.AddListener(controller);

            Application.Run(view);
        }
コード例 #2
0
 public Serializer(GUIController controller)
 {
     _controller = controller;
 }
コード例 #3
0
 public Serializer(GUIController controller)
 {
     _controller = controller;
 }
コード例 #4
0
ファイル: GUIView.cs プロジェクト: Needix/Helper_SortProjects
        //BIGTODO: Replace project ListBox with "real" sort option (ListView with collapse/expand option?)
        public void AddListener(GUIController controller)
        {
            _controller = controller;

            RegisterCustomEvents();
        }