void miCloseOpenFile_Click(object sender, RoutedEventArgs e)
 {
     OpenedFileManager.GetManager().Close((Source)((MenuItem)sender).CommandParameter);
 }
Exemple #2
0
 void item_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     OpenedFileManager.GetManager().Open(this);
 }
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     ProjectManager.GetManager().onProjectUpdated       += MainWindow_onProjectUpdated;
     OpenedFileManager.GetManager().onOpenedFileUpdated += MainWindow_onOpenedFileUpdated;
 }