Exemplo n.º 1
0
        internal void Run(string[] args)
        {
            verbosity = 0;
            for (int i = 1; i < args.Length; i++)
            {
                string cmd = args[i];
                if (new Regex("^[/-][vV]+$").IsMatch(cmd))
                {
                    verbosity += cmd.Length - 1;
                }
                else
                {

                    try
                    {
                        Controller ctrl = new Controller();
                        attrs.Clear();
                        attrs.Add("WNDCLASS=untested");
                        ctrl.guessFile(this, cmd);
                        ctrl.summarize(this, attrs.ToArray());
                    }
                    catch (Exception ex)
                    {
                        Console.WriteLine(ex.ToString());
                    }
                }
            }
        }
Exemplo n.º 2
0
 public MainForm(Controller controller)
 {
     this.controller = controller;
     InitializeComponent();
 }
Exemplo n.º 3
0
 public WindowExecutableGuesser(Controller ctrl)
 {
     this.ctrl = ctrl;
 }
 public WindowExecutableGuesser(Controller ctrl)
 {
     this.ctrl = ctrl;
 }