//при запуске
        public MainWindow()
        {
            InitializeComponent();

            webActions = new WebActions(
                new List <ListBox>()
            {
                CountryList, CityList, FunctionList
            },
                LanguageList,
                JobList,
                JobCounter
                );
        }
Example #2
0
        internal ConsoleInterface(string[] args)
        {
            webActions = new WebActions();

            arguments = args;
            try
            {
                CheckArguments();
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }
            Execute();
        }