private void buttonADD_Click(object sender, EventArgs e)
{
try
{
create = GetCreateFunctorMaybeNull();
if (create == null)
{
toolStripStatusLabel1.Text = "Unable to create channel";
}
else
{
this.DialogResult = DialogResult.OK;
this.Close();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "Error creating channel");
}
}