private void CommandRefresh(object sender, ExecutedRoutedEventArgs e) { if (this.currentTabIndex >= 0 && tab[this.currentTabIndex].FullFileName != null && System.IO.File.Exists(tab[this.currentTabIndex].FullFileName)) { tab[this.currentTabIndex].OpenFile(tab[this.currentTabIndex].FullFileName); } }