have a uitypeeditor which opens a winform.  The winforms class is defined as 

namespace MenuLib
{
public class Form1 : System.Windows.Forms.Form
{
             ....

Was having trouble in accessing the Server.MapPath.  I know if it is a webform you can access it as System.Web.HttpContext.Current.Server.MapPath("myfile.xml"), but how do you do it with a winform?






HttpContext.Current.Server.MapPath("test.xml")