I would like a message box to be displayed and the program to just continue and not wait for me to click ok on this message box. Can it be done ?
else
{
// Debug or messagebox the line that fails
MessageBox.Show("Cols:" + _columns.Length.ToString() + " Line: " + lines[i]);
}
//You need to add this if you don't already have it
using System.Threading.Tasks;
//Then here is your code that will run async of the main thread;
Task.Factory.StartNew( () =>
{
MessageBox.Show("This is a message");
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With