示例#1
0
 public MainWindow()
 {
     Registration.RegisterDependencies();
     InitializeComponent();
     application = Resolver.Resolve <BMBApplication>();
     application.Start();
 }
示例#2
0
文件: Program.cs 项目: Grrtt/BoxMeBro
        private static void Main()
        {
            //IntPtr consoleWindowsHandle = Kernel32.GetConsoleWindow();
            //User32.ShowWindow(consoleWindowsHandle, User32.SW_HIDE);

            Registration.RegisterDependencies();
            BMBApplication bmb = Resolve <BMBApplication>();

            bmb.Start();
            Application.Run();
            bmb.Stop();
        }
示例#3
0
 private void InvokeStart()
 {
     systemUnderTest.Start();
 }