Files
LIAM/LiamTestTeams/frmPermissionInput.cs
Meik 3d4f60d83e chore: sync LIAM solution snapshot incl. diagnostics tooling
- update multiple LIAM projects and solution/config files

- add LiamWorkflowDiagnostics app sources and generated outputs

- include current workspace state (dependencies and build outputs)
2026-02-27 09:12:34 +01:00

44 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LiamTestTeams
{
public partial class frmPermissionInput : Form
{
public frmPermissionInput()
{
InitializeComponent();
}
private void frmPermissionInput_Load(object sender, EventArgs e)
{
comboBoxRole.SelectedIndex = 0;
}
private void textBoxEmail_TextChanged(object sender, EventArgs e)
{
bool isValid = false;
if (!string.IsNullOrWhiteSpace(textBoxEmail.Text))
{
try
{
var mail = new System.Net.Mail.MailAddress(textBoxEmail.Text.Trim());
isValid = mail != null;
}
catch
{
}
}
buttonOK.Enabled = isValid;
}
}
}