Exemple #1
0
 public Form1()
 {
     this.data.enigma = new Enigma(PreMade.A, PreMade.III, PreMade.II,
                                   PreMade.I);
     InitializeComponent();
     UpdateGUITimer.Start();
 }
Exemple #2
0
        public ArbyForm()
        {
            InitializeComponent();
            Model            = new MatchbookModel();
            Controller       = new MatchbookController();
            Controller.Model = Model;
            Controller.Form  = this;
            Settings         = SettingsHelper.GetDefaultSettingsData();
            Timer            = new UpdateGUITimer();
            Scraper          = new ScraperTimer();


            UpdateSettings();
            Timer.Start();
            Scraper.Tick += new EventHandler(scraper_Tick);
            Scraper.Start();
        }