30 lines
664 B
C#
30 lines
664 B
C#
using Microsoft.Web.WebView2.Core;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace AIProofread.Controls
|
|
{
|
|
public partial class ProofreadMainControl : UserControl
|
|
{
|
|
public ProofreadMainControl()
|
|
{
|
|
InitializeComponent();
|
|
Bridge.InitWebEnvAsync("main", web);
|
|
}
|
|
|
|
|
|
private void ProofreadMainControl_Load(object sender, EventArgs e)
|
|
{
|
|
this.web.Source = new Uri(Config.WebPath("#home"));
|
|
}
|
|
|
|
}
|
|
}
|