Пример #1
0
        public IActionResult Index(Formtest form)
        {
            if (ModelState.IsValid)
            {
                return(View("finish", form));
            }

            return(View(form));
        }
        private void btnAny_Click(object sender, EventArgs e)
        {
            /*
             * webBrowser1.ScriptErrorsSuppressed = true;
             * string path = "F:\\leafletTest\\analyse.html";
             * webBrowser1.Navigate(path);
             */
            Formtest f4 = new Formtest();

            Thread.Sleep(1000);
            f4.Show();
            //WebKit.WebKitBrowser browser = new WebKitBrowser();
            //browser.Dock = DockStyle.Fill;
            //this.Controls.Add(browser);
            //browser.Navigate("F:\\leafletTest\\analyse.html");
        }