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