private void save_Click(object sender, RoutedEventArgs e) { var doc = this.BlockIndex.Document as HTMLDocument; xml = (string)BlockIndex.InvokeScript("save", null); CodeView.Text = xml; Debug.WriteLine(xml); }
private void run_Click(object sender, RoutedEventArgs e) { CodeView.Text = (string)BlockIndex.InvokeScript("generate", xml); }
private void load_Click(object sender, RoutedEventArgs e) { Debug.WriteLine(xml); Debug.WriteLine(BlockIndex.InvokeScript("load", xml)); }