コード例 #1
0
        /// <summary>
        /// Creates a new instance of the <see cref="frmMain"/> form.
        /// </summary>
        public frmMain()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            settings    = Settings.Instance();
            controller  = new PluginController();
            pluginPaths = new ArrayList();
            controller.AttachLogger(rtblLog);
            controller.PluginStateChanged += new EventHandler(controller_PluginStateChanged);
            memUsage        = 0;
            lblVersion.Text = "Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString();
        }
コード例 #2
0
ファイル: frmMain.cs プロジェクト: modernist/CrawlWave
        /// <summary>
        /// Creates a new instance of the <see cref="frmMain"/> form.
        /// </summary>
        public frmMain()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            settings = Settings.Instance();
            controller = new PluginController();
            pluginPaths = new ArrayList();
            controller.AttachLogger(rtblLog);
            controller.PluginStateChanged += new EventHandler(controller_PluginStateChanged);
            memUsage = 0;
            lblVersion.Text = "Version: " + Assembly.GetExecutingAssembly().GetName().Version.ToString();
        }