Example #1
0
 public Controller_View(Model model, View view)
 {
     this.model = model;
     this.view = view;
     this.view.SetController(this);
     this.view.SetController_DictionaryWord(new Controller_DictionaryWord(model, view));
     this.view.Init();
     //this.view.cbUser_fillItems(getUsers());
     Application.Run(view);
 }
Example #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Model model = new Model();
     View view = new View(model);
     Controller_View controller = new Controller_View(model, view);
     //view.SetController(controller);
     //View view = new View(controller);
     //Application.Run(view);
 }
 public Controller_DictionaryWord(Model model, View view)
 {
     this.model = model;
     this.view = view;
 }