public BenchmarksForm(IPreferenceSet prefs, IProteinService proteinService, IProteinBenchmarkService benchmarkService,
                              IClientConfiguration clientConfiguration, IMessageBoxView messageBoxView, IExternalProcessStarter processStarter)
        {
            _prefs               = prefs;
            _proteinService      = proteinService;
            _benchmarkService    = benchmarkService;
            _graphColors         = _prefs.Get <List <Color> >(Preference.GraphColors);
            _clientConfiguration = clientConfiguration;
            _messageBoxView      = messageBoxView;
            _processStarter      = processStarter;
            _zedGraphManager     = new ZedGraphManager();

            InitializeComponent();
            StartPosition = FormStartPosition.Manual;
        }
예제 #2
0
      public BenchmarksForm(IPreferenceSet prefs, IProteinService proteinService, IProteinBenchmarkCollection benchmarkCollection,
                            IClientConfiguration clientConfiguration, IMessageBoxView messageBoxView, IExternalProcessStarter processStarter)
      {
         _prefs = prefs;
         _proteinService = proteinService;
         _benchmarkCollection = benchmarkCollection;
         _graphColors = _prefs.Get<List<Color>>(Preference.GraphColors);
         _clientConfiguration = clientConfiguration;
         _messageBoxView = messageBoxView;
         _processStarter = processStarter;
         _zedGraphManager = new ZedGraphManager();

         InitializeComponent();
         StartPosition = FormStartPosition.Manual;
      }
예제 #3
0
        public BenchmarksForm(IPreferenceSet prefs, IProteinDictionary proteinDictionary, IProteinBenchmarkCollection benchmarkCollection,
            IClientDictionary clientDictionary, IMessageBoxView messageBoxView, IExternalProcessStarter processStarter)
        {
            _prefs = prefs;
             _proteinDictionary = proteinDictionary;
             _benchmarkCollection = benchmarkCollection;
             _graphColors = _prefs.Get<List<Color>>(Preference.GraphColors);
             _clientDictionary = clientDictionary;
             _messageBoxView = messageBoxView;
             _processStarter = processStarter;
             _zedGraphManager = new ZedGraphManager();

             InitializeComponent();
        }