Beispiel #1
0
        public MagnetForm(IMagnets magnets, ICategories categories, Magnet magnet)
        {
            //
            InitializeComponent();

            // the engine to create new categories.
            _magnets = magnets;

            // the category we working with.
            GivenMagnet = magnet;

            // the categories
            _Categories = categories;
        }
        public MagnetMailItemForm(ILogger logger, IMagnets magnets, ICategories categories, Outlook._MailItem mailItem)
        {
            //
            InitializeComponent();

            // the logger.
            _logger = logger;

            // the magnets
            _magnets = magnets;

            // the mail item
            _mailItem = mailItem;

            // the categories
            _categories = categories;
        }
 public MagnetsForm(ICategories categories, IMagnets magnets)
 {
     _magnets    = magnets;
     _categories = categories;
     InitializeComponent();
 }