public MegajewelForm() { InitializeComponent(); capturing = new Capturing(this); Overlaying = new Overlaying(this); Processing = new Processing(this); HotkeyManager = new HotkeyManager(this); KnowledgeBase = new KnowledgeBase(this); KnowledgeBase.Load(); RecognitionStrategy.AllStrategies.Add(new NearestHistogramStrategy(this.KnowledgeBase.TrainingData)); PopulateModes(); RecognitionStrategy = new NearestHistogramStrategy(this.KnowledgeBase.TrainingData); AutonomyStrategy = new DoNothingStrategy(); fontPower = new Font(FontFamily.GenericSansSerif, 28); }