예제 #1
0
        public MainWindow()
        {
            var appName = Process.GetCurrentProcess().ProcessName + ".exe";

            SetIE8KeyforWebBrowserControl(appName);

            InitializeComponent();

            //var bootstrapper = Bootstrapper.Current;
            //bootstrapper.Run();

            DispatcherHelper.SetDispatherAsDefault();
            WebWorker.SetBrowser((MyWebBrowser.Child as System.Windows.Forms.WebBrowser));

            ApplicationApi.Auth("penzin", "super");

            BoardApi.CheckIntegrity("Avito");
            //BoardApi.GetBulletins("Avito");
            //BoardApi.GetXlsBulletins("Avito");
            //BoardApi.EditBulletinsFromXls("Avito");
            //BoardApi.AddBulletinsFromXls("Avito");
            //BoardApi.GetXlsGroup("Avito");
            //BulletinContainerList.ExecuteAll();
        }