3. PS.Framework.Forms

The assembly PS.Framework.Forms.dll currently contains two dialogs. An AboutDialog and an ExceptionDialog.

3.1 AboutDialog

The AboutDialog shows informations about the application and the system it runs on. Its using the controls AboutView, SystemInfoPanel, and AssemblyView.


3.2 Exception Dialog

The +ExceptionDialog* can be used for showing exceptions that are unexpected. It shows a user defined error text and the stack trace of the exception.

Using the ExceptionDialog is very simple. The following snippet will show how to use it:
string myInput = "I'm a string, perhaps I also could be an Integer.";
     Int32 myInputAsInteger = Int32.Parse(myInput);
catch(Exception ex)
     new ExceptionDialog("Error", "Input has the wrong format.", ex).Show();


Last edited Apr 12, 2012 at 6:41 PM by inflames2k, version 3


No comments yet.