public MainWindow() { InitializeComponent(); reader = CodeReader.FromFile(@".\examples\presentation.sld"); reader.FileChanged += () => { Create(); }; Create(); }