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; }
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(); }
private void MainForm_Activated(object sender, EventArgs e) { FileHandler.scanFileDirectory(); AppCon = ConfigHandler.getConfig(); plugins = ConfigHandler.GetPluginList(); }