Exemplo n.º 1
0
 private void RsMenuItem(object sender, RoutedEventArgs e) // REMOTE SHELL
 {
     if (getClient() != null)
     {
         FrmRemoteShell frmRs = new FrmRemoteShell(getClient());
         frmRs.Text = SetWindowTitle("Remote Shell", getClient());
         frmRs.Show();
         frmRs.Focus();
     }
 }
Exemplo n.º 2
0
 public void frmRms(ClientMosaic client)
 {
     try
     {
         FrmRemoteShell frmRemoteShell = new FrmRemoteShell(client);
         frmRemoteShell.Text = "Remote Shell" + ' ' + client.endPoint.Address + " : " + client.endPoint.Port;
         frmRemoteShell.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "FrmRms MainController", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }