//при запуске public MainWindow() { InitializeComponent(); webActions = new WebActions( new List <ListBox>() { CountryList, CityList, FunctionList }, LanguageList, JobList, JobCounter ); }
internal ConsoleInterface(string[] args) { webActions = new WebActions(); arguments = args; try { CheckArguments(); } catch (Exception e) { Console.WriteLine(e.Message); } Execute(); }