public ItopVector.Core.Document.SvgDocument ConvertToSvg(string filename)
        {
            flashwindow =new FlashWindow();
            flashwindow.OnRefleshStatus = new RefleshStatusEventHandler(execut);
            fileName = filename;
            flashwindow.SplashData();

            return svg;
        }
 private void execut(FlashWindow flash)
 {
     Application.DoEvents();
     svg = getSvg(fileName);
 }