public void Load(INIFile ConnectionFile) { string name = ConnectionFile.GetValue("Transport", "Name"); SelectTransport(name); Transport.ConfigData.Load(ConnectionFile, "Transport"); name = ConnectionFile.GetValue("Modem", "Name"); SelectModem(name); Modem.ConfigData.Load(ConnectionFile, "Modem"); name = ConnectionFile.GetValue("Terminal", "Name"); SelectTerminal(name); Terminal.ConfigData.Load(ConnectionFile, "Terminal"); SetEvents(); }
public Connection(INIFile ConfigFile) { LoadDefaultSettings(); Load(ConfigFile); }