public InputForm(string filename) { // build config path and test to see if the config exists string iniPath = System.IO.Path.Combine(Application.StartupPath, "PcPSubmit.ini"); if (System.IO.File.Exists(iniPath)) { // read in the config file // The only thing that can be in the config file is the host for the bridge. System.IO.StreamReader config = new System.IO.StreamReader(iniPath); bridge_host = config.ReadLine(); config.Close(); } this.filename = filename; this.pcpBridge = new Bridge(null, null, bridge_host); InitializeComponent(); }