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());
        }
Example #3
0
 public WordList()
 {
     InitializeComponent();
     _wordService        = InstanceFactory.GetInstance <IWordService>();
     _learningWordSevice = InstanceFactory.GetInstance <ILearningWordSevice>();
 }
Example #4
0
 public YearsStatistic()
 {
     InitializeComponent();
     _learningWordSevice = InstanceFactory.GetInstance <ILearningWordSevice>();
 }