private void _initBasicState() { string baseDir; if (File.Exists("config.dat")) { string[] t = File.ReadAllLines("config.dat"); if (t.Length > 0) { left = new CommanderBlock(_form._left, t[0]); } else { left = new CommanderBlock(_form._left, ""); } if (t.Length > 1) { right = new CommanderBlock(_form._right, t[1]); } else { right = new CommanderBlock(_form._right, ""); } } else { left = new CommanderBlock(_form._left, ""); right = new CommanderBlock(_form._right, ""); } }