private bool LoadConfigFileBF(string filePath)
        {
            if (File.Exists(filePath))
            {
                Debug.WriteLine("Accessed BF TGC Reader...");

                FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);

                try
                {
                    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter bf = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
                    mConfig = (IndexerConfig)bf.Deserialize(fs);
                    return(true);
                }
                catch (Exception ex)
                {
                    Debug.WriteLine(ex.ToString());
                    fs.Close();
                    return(false);
                }
                finally
                {
                    fs.Close();
                }
            }
            return(false);
        }
 public void LoadConfig(IndexerConfig config)
 {
     mConfig = config;
 }
 public void LoadNewConfig()
 {
     mConfig = new IndexerConfig();
 }
        private bool LoadConfigFileBF(string filePath)
        {
            if (File.Exists(filePath))
            {
                Debug.WriteLine("Accessed BF TGC Reader...");

                FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);

                try
                {
                    System.Runtime.Serialization.Formatters.Binary.BinaryFormatter bf = new System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
                    mConfig = (IndexerConfig)bf.Deserialize(fs);
                    return true;
                }
                catch (Exception ex)
                {
                    Debug.WriteLine(ex.ToString());
                    fs.Close();
                    return false;
                }
                finally
                {
                    fs.Close();
                }
            }
            return false;
        }
 public void LoadNewConfig()
 {
     mConfig = new IndexerConfig();
 }
 public void LoadConfig(IndexerConfig config)
 {
     mConfig = config;
 }