public MainWindow() { Movies = new MovieList (); Movies.LoadAll (); InitializeComponent (); Loaded += new RoutedEventHandler (MainWindowLoaded); DeleteCommand = new CommandDelete (gridView, Movies); EditRawDataCommand = new CommandEditRawData (gridView, Movies); }