private void FileMgMenuItem(object sender, RoutedEventArgs e) { if (getClient() != null) { FrmFileManager frmFm = new FrmFileManager(getClient()); frmFm.Text = SetWindowTitle("Remote Desktop", getClient()); frmFm.Show(); frmFm.Focus(); } }
public void frmFm(ClientMosaic client) { try { FrmFileManager frmFm = new FrmFileManager(client); frmFm.Text = "File Manager" + ' ' + client.endPoint.Address + " : " + client.endPoint.Port; frmFm.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message, "FrmFm MainController", MessageBoxButtons.OK, MessageBoxIcon.Error); } }