コード例 #1
0
        public void SpawnResultWindow(string name, Circuit circuit)
        {
            ResultWindow res = new ResultWindow(circuit);

            res.SizeToContent      = SizeToContent.WidthAndHeight;
            res.Title              = System.IO.Path.GetFileName(name);
            App.Current.MainWindow = res;
            res.Show();
        }
コード例 #2
0
        public void SpawnNew(Circuit circuit, string title)
        {
            ResultWindow result = new ResultWindow(circuit);

            result.SizeToContent   = SizeToContent.WidthAndHeight;
            result.Title           = title;
            App.Current.MainWindow = result;
            result.Show();
        }