private void btn_fetchtamplateFile_Click(object sender, RoutedEventArgs e) { try { int index = cBox_template.SelectedIndex; GH.getFiles("template"); cBox_template.SelectedIndex = index; UIH.toastIT("Defnition files read sucessfully!", "File Read", NotificationType.Information); } catch (System.Exception ee) { GH.writeLog(ee.ToString()); } }