private void Button_OK(object sender, RoutedEventArgs e)
{
if (string.IsNullOrWhiteSpace(TitleBox.Text))
{
MessageBox.Show("Please insert an Issue Title.", "Title required", MessageBoxButton.OK, MessageBoxImage.Warning);
return;
}
DialogResult = true;
}