public static int GuiMain(String[] args) { QApplication app = new QApplication (args); MonoCov main = new MonoCov (); app.SetMainWidget (main); if (args.Length > 0) main.openFile (args[0]); main.Show (); return app.Exec (); }