Hi All,
I have a class dedicated to reading file contents and I want my MDI child from to stop loading (say when the user opens the file from file menu) if this class throws an exception (ie. file contains a null value). how can this be done?
If there is a easy way, I can catch all errors occurs in my class and terminate MDI child from from loading.
I am not a C# expert hope someone can help me.
Thanks
I have a class dedicated to reading file contents and I want my MDI child from to stop loading (say when the user opens the file from file menu) if this class throws an exception (ie. file contains a null value). how can this be done?
If there is a easy way, I can catch all errors occurs in my class and terminate MDI child from from loading.
I am not a C# expert hope someone can help me.
Thanks