void Start()
        {
            config      = new BD.Configuracion();
            control     = new Utilidades.FileControlDicc("configuracion_BD.txt");
            config.dicc = control.FileToDicc();

            TxtBox_DataSource.Text = config.dicc["DATA SOURCE"];
            TxtBox_UserID.Text     = config.dicc["USER ID"];
            TxtBox_Password.Text   = config.dicc["PASSWORD"];
        }
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     Utilidades.FileControlDicc file = new Utilidades.FileControlDicc("configuration.txt");
     if (!file.Exist)
     {
         file.DiccToFile(new Dictionary <string, string>()
         {
             { "USER ID", "csharp" }
         });
     }
     file.LookDicc(file.FileToDicc());
 }
 void Start()
 {
     //Configuracion BD
     BD.Configuracion           configBD = new BD.Configuracion();
     Utilidades.FileControlDicc file     = new Utilidades.FileControlDicc("configuracion_BD.txt");
     if (file.Exist) //call file
     {
         configBD.dicc = file.FileToDicc();
     }
     else //if file dont exist, create file
     {
         file.DiccToFile(configBD.dicc);
     }
     BD.Access.Connect(configBD);
 }
 private void Button_Click_4(object sender, RoutedEventArgs e)
 {
     Utilidades.FileControlDicc file = new Utilidades.FileControlDicc("x.txt");
     //Txt_Filepath.Text = file.filePath;
 }