示例#1
0
 static void Main()
 {
     Repository.Repository repository = new Repository.Repository();
     Controller.Controller controller = new Controller.Controller(repository);
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new Start(controller));
 }
示例#2
0
文件: Quiz.cs 项目: teoperisanu/Quiz
 public Quiz(Controller.Controller controller)
 {
     this.controller = controller;
     this.controller.ReadData();
     this.controller.Get26Questions();
     this.minutes = 0;
     this.seconds = 3;
     InitializeComponent();
 }
示例#3
0
 public AddQuestion(Controller.Controller controller)
 {
     this.controller = controller;
     InitializeComponent();
 }
示例#4
0
 public Start(Controller.Controller controller)
 {
     this.controller = controller;
     InitializeComponent();
 }