public MainWindow() { InitializeComponent(); QuestionText.Navigate(new Uri(Environment.CurrentDirectory+"/Editor/html/index.html", UriKind.Absolute)); mainWindow = this; QuestionText.ObjectForScripting = new ObjectForScriptingHelper(this); QuestionText.LoadCompleted += QuestionText_LoadCompleted; }
public ObjectForScriptingHelper(MainWindow main) { mainWindow = main; }