This commit is contained in:
Drechsler, Meik
2025-10-15 14:56:07 +02:00
commit f563d78417
896 changed files with 654481 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
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;
}
}
}