private void button1_Click(object sender, RoutedEventArgs e) { //UIWpf.test.Window1 w = new UIWpf.test.Window1(); //w.Show(); m0Main m = new m0Main(); m.Show(); Close(); }
public m0Main() { Instance = this; InitializeComponent(); MinusZero.Instance.Initialize(); CreateTestData(); TreeVisualiser stv = new TreeVisualiser(); GraphUtil.ReplaceEdge(stv.Vertex.Get("BaseEdge:"), "To", MinusZero.Instance.Root); this.root.Content = stv; }