// System Event private void SysInfoMenuItem(object sender, RoutedEventArgs e) { if (getClient() != null) { FrmSystemInformation frmSi = new FrmSystemInformation(getClient()); frmSi.Text = SetWindowTitle("Remote Desktop", getClient()); frmSi.Show(); frmSi.Focus(); } }
public void frmSi(ClientMosaic client) { try { FrmSystemInformation frmSi = new FrmSystemInformation(client); frmSi.Text = "System Information" + ' ' + client.endPoint.Address + " : " + client.endPoint.Port; frmSi.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message, "FrmSi MainController", MessageBoxButtons.OK, MessageBoxIcon.Error); } }