public HotKeySettingTab(Control flpHotkeys, HotkeyManager hotkeyManager, HotKeysConfig hotKeysConfig, IUserControlFactory factory) { _flpHotkeys = flpHotkeys; _hotkeyManager = hotkeyManager; _hotKeysConfig = hotKeysConfig; _factory = factory; }
public MainWindow(IScheduleViewModel viewModel, IUserControlFactory controlFactory) { InitializeComponent(); viewModel.AddObserver(this); DataContext = viewModel; MonthCalendar = controlFactory.GetMonthCalendar(viewModel); Initialize(); }
public FrmImportSqlDeclaration(IUserControlFactory ucFactory, DeclarationSqlController controller) : this() { if (ucFactory == null) { throw new ArgumentNullException("ucFactory"); } if (controller == null) { throw new ArgumentNullException("controller"); } _ucFactory = ucFactory; _controller = controller; }
public MonthCalendar(IScheduleViewModel viewModel, IUserControlFactory userControlFactory) { InitializeComponent(); _itemsControls = new List <ItemsControl>(); DataContext = viewModel; _controlFactory = userControlFactory; viewModel.AddObserver(this); InitializeStrings(); InitializeGridLines(); InitializeDayItemsControls(); InitializeDayTextBlocks(); LoadEvents(); }
public FrmParametrage(IUserControlFactory ucFactory) : this() { _ucFactory = ucFactory; }