openFile() private méthode

private openFile ( string fileName ) : void
fileName string
Résultat void
Exemple #1
0
        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 ();
        }
Exemple #2
0
        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());
        }