Example #1
0
        private void rescanToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DateTime       started = DateTime.Now;
            ProgressDialog d       = new ProgressDialog();

            d.Text = "Scanning source files...";
            d.Work = (feedback) => _scanner.Rescan(feedback);
            d.Start();
            _project.LastScan = started;

            Setup(_project, _scanner);
            if (_inspecting != null)
            {
                Inspect(_inspecting);
            }
        }
Example #2
0
        private void scanToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            ParseProject();
            Parser.Scanner scanner = new Parser.Scanner(_project);

            DateTime       started = DateTime.Now;
            ProgressDialog d       = new ProgressDialog();

            d.Text = "Scanning source files...";
            d.Work = (feedback) => scanner.Rescan(feedback);
            d.Start();
            _project.LastScan = started;

            DisplayProject();

            ReportForm rf = new ReportForm(_project, scanner);

            rf.Show();
        }
        partial void scan(NSObject sender)
        {
            ParseProject();
            Parser.Scanner scanner = new Parser.Scanner(_project);

            DateTime       started = DateTime.Now;
            ProgressDialog d       = new ProgressDialog();

            d.Text = "Scanning source files...";
            d.Work = (feedback) => scanner.Rescan(feedback);
            d.Start();
            _project.LastScan = started;

            DisplayProject();

            ReportWindowController rwc = new ReportWindowController();

            rwc.Setup(_project, scanner);
            rwc.Window.MakeKeyAndOrderFront(this);
        }