public WordTesting() { InitializeComponent(); _learningWordService = InstanceFactory.GetInstance <ILearningWordSevice>(); _wordService = InstanceFactory.GetInstance <IWordService>(); Bitmap bmp = Properties.Resources.WordTesting; Icon = Icon.FromHandle(bmp.GetHicon()); }
public WordOperation(int operation) { InitializeComponent(); _operation = operation; _wordService = InstanceFactory.GetInstance <IWordService>(); _learningWordSevice = InstanceFactory.GetInstance <ILearningWordSevice>(); if (_operation != 0) { _word = _wordService.WordGet(_operation); } else { _word = new Word(); } Bitmap bmp = Properties.Resources.WordAdd; Icon = Icon.FromHandle(bmp.GetHicon()); }
public WordList() { InitializeComponent(); _wordService = InstanceFactory.GetInstance <IWordService>(); _learningWordSevice = InstanceFactory.GetInstance <ILearningWordSevice>(); }
public YearsStatistic() { InitializeComponent(); _learningWordSevice = InstanceFactory.GetInstance <ILearningWordSevice>(); }