Exemplo n.º 1
0
        public void LoadConfig()
        {
            //Open the file written above and read values from it.
            BinaryFormatter bformatter = new BinaryFormatter();
            System.IO.Stream stream = System.IO.File.Open("hcgwab.osl", System.IO.FileMode.Open);
           

            Config = (HCConfigs)bformatter.Deserialize(stream);
            stream.Close();
        }
Exemplo n.º 2
0
 public HCConfig()
 {
     config = new HCConfigs();
 }