コード例 #1
0
        private void Options_Load(object sender, EventArgs e)
        {
            this.Enabled = true;
            curCon       = ConfigHandler.getConfig();

            txtDirPath.Text  = curCon.DirPath;
            txtHostName.Text = curCon.HostName;
            txtPass.Text     = curCon.Password;
            txtPort.Text     = curCon._Port;
            txtUserName.Text = curCon.User;
            cbLocal.Checked  = curCon.IsLocal;
        }
コード例 #2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            FileHandler.scanFileDirectory();
            ConfigHandler.checkLocalFiles();
            AppCon  = ConfigHandler.getConfig();
            plugins = ConfigHandler.GetPluginList();
            items   = ConfigHandler.GetItemIndex();

            //load plugin Dll files
            assemblies = XmlFileHandler.LoadPlugins();
            PluginManifest();
        }
コード例 #3
0
 private void MainForm_Activated(object sender, EventArgs e)
 {
     FileHandler.scanFileDirectory();
     AppCon  = ConfigHandler.getConfig();
     plugins = ConfigHandler.GetPluginList();
 }