コード例 #1
0
 public RemoteWinControl()
 {
     InitializeComponent();
     _fullScreenWindow         = new FullScreenWindow();
     _fullScreenWindow.Closed += (sender, e) =>
     {
         _fullScreen = false;
         OnFatalError("错误", "远程连接被关闭。");
     };
 }
コード例 #2
0
 public RemoteTabControl()
 {
     InitializeComponent();
     _fullScreenWindow             = new FullScreenWindow();
     _fullScreenWindow.ButtonClick = Button_ConnectBar_Click;
     _fullScreenWindow.Closed     += (sender, e) =>
     {
         _fullScreen = false;
         OnFatalError("错误", "远程连接被关闭。");
     };
 }