public SettingsLoader(
            FrmMain mainForm,
            MessageCollector messageCollector,
            QuickConnectToolStrip quickConnectToolStrip,
            ExternalToolsToolStrip externalToolsToolStrip,
            MultiSshToolStrip multiSshToolStrip,
            MenuStrip mainMenu)
        {
            if (mainForm == null)
            {
                throw new ArgumentNullException(nameof(mainForm));
            }
            if (messageCollector == null)
            {
                throw new ArgumentNullException(nameof(messageCollector));
            }
            if (quickConnectToolStrip == null)
            {
                throw new ArgumentNullException(nameof(quickConnectToolStrip));
            }
            if (externalToolsToolStrip == null)
            {
                throw new ArgumentNullException(nameof(externalToolsToolStrip));
            }
            if (multiSshToolStrip == null)
            {
                throw new ArgumentNullException(nameof(multiSshToolStrip));
            }
            if (mainMenu == null)
            {
                throw new ArgumentNullException(nameof(mainMenu));
            }

            MainForm                = mainForm;
            _messageCollector       = messageCollector;
            _quickConnectToolStrip  = quickConnectToolStrip;
            _externalToolsToolStrip = externalToolsToolStrip;
            _multiSshToolStrip      = multiSshToolStrip;
            _mainMenu               = mainMenu;
            _externalAppsLoader     = new ExternalAppsLoader(MainForm, messageCollector, _externalToolsToolStrip);
        }
Esempio n. 2
0
 public SettingsLoader(frmMain mainForm)
 {
     MainForm = mainForm;
     _layoutSettingsLoader = new LayoutSettingsLoader(MainForm);
     _externalAppsLoader   = new ExternalAppsLoader(MainForm);
 }
Esempio n. 3
0
 public SettingsLoader(frmMain MainForm)
 {
     _MainForm             = MainForm;
     _layoutSettingsLoader = new LayoutSettingsLoader(_MainForm);
     _externalAppsLoader   = new ExternalAppsLoader(_MainForm);
 }
Esempio n. 4
0
 public SettingsLoader(frmMain mainForm)
 {
     MainForm = mainForm;
     _layoutSettingsLoader = new LayoutSettingsLoader(MainForm);
     _externalAppsLoader = new ExternalAppsLoader(MainForm);
 }