Example #1
0
        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);
        }
Example #2
0
 private void run_Click(object sender, RoutedEventArgs e)
 {
     CodeView.Text = (string)BlockIndex.InvokeScript("generate", xml);
 }
Example #3
0
 private void load_Click(object sender, RoutedEventArgs e)
 {
     Debug.WriteLine(xml);
     Debug.WriteLine(BlockIndex.InvokeScript("load", xml));
 }