feat: Open gui when DSQA runs
This commit is contained in:
1 parent
56f7518186
commit
92e4b0a793
2 files changed
+22
-23
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using BCG;
|
||||
using System.IO;
|
||||
using System.Runtime.Serialization;
|
||||
@@ -8,13 +9,24 @@ using mbts;
|
||||
using mbts.config;
|
||||
using bts.utils;
|
||||
|
||||
// BTSNativeMethods.provide_command_line();
|
||||
// Configuration.initialize();
|
||||
|
||||
bts.Log.Gen.info($"Starting DSQA");
|
||||
Console.WriteLine("Starting DataStreamQueryAnalyzer...");
|
||||
TestPubliser.publish();
|
||||
//TestPubliser.subscribe();
|
||||
static class Program {
|
||||
[STAThread]
|
||||
static void Main(string[] args) {
|
||||
BTSNativeMethods.provide_command_line(args, args.Length);
|
||||
Configuration.initialize();
|
||||
bts.Log.Gen.info($"Starting DSQA");
|
||||
Console.WriteLine("Starting DataStreamQueryAnalyzer...");
|
||||
Console.WriteLine("Starting Test Publisher");
|
||||
TestPubliser.publish();
|
||||
TestPubliser.subscribe();
|
||||
Console.WriteLine("Launching Main Window");
|
||||
MainForm mainForm = new MainForm();
|
||||
if (args.Length > 0) {
|
||||
mainForm.loadFile(args[0]);
|
||||
}
|
||||
Application.Run(mainForm);
|
||||
}
|
||||
}
|
||||
|
||||
class TestPubItem : IFormatter, IPubItem
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user