private void ValidateJWT_FormClosing(object sender, FormClosingEventArgs e) { this.Hide(); JWTManager _JWTManager = new JWTManager(); _JWTManager.ShowDialog(); }
private void GenerateJWT_FormClosing(object sender, FormClosingEventArgs e) { try { this.Hide(); JWTManager _JWTManager = new JWTManager(); _JWTManager.ShowDialog(); } catch (Exception ex) { MetroFramework.MetroMessageBox.Show(this, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }