示例#1
0
 private void ConnectionCompleted()
 {
     _mainPresenter = new MainPresenter(new MainControl(), ShowVideoControl);
     LoadMainView(_mainPresenter.GetView());
     _mainPresenter.Run();
 }
示例#2
0
文件: Program.cs 项目: levibrian/swjc
        public async Task Run(CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();

            await mainPresenter.Run(cancellationToken);
        }