Example #1
0
        public BrachialPlexusCardForm(CWorkersKeeper workersKeeper, CBrachialPlexusCard brachialPlexusCard)
        {
            InitializeComponent();

            _configurationEngine = workersKeeper.ConfigurationEngine;

            _brachialPlexusCardWorker = workersKeeper.BrachialPlexusCardWorker;
            _brachialPlexusCardInfo   = brachialPlexusCard;
            _shadePaint = new ShadePaint(_brachialPlexusCardInfo.Picture, string.Empty);
        }
        public PaintDoublePictureForm(string formName, CWorkersKeeper workersKeeper, CCard cardLeftInfo, CCard cardRightInfo)
        {
            InitializeComponent();

            _configurationEngine = workersKeeper.ConfigurationEngine;

            Text             = formName;
            _cardWorker      = workersKeeper.CardWorker;
            _cardLeftInfo    = cardLeftInfo;
            _cardRightInfo   = cardRightInfo;
            _shadePaintLeft  = new ShadePaint(cardLeftInfo.Picture, "Левая сторона");
            _shadePaintRight = new ShadePaint(cardRightInfo.Picture, "Правая сторона");
        }