private void FileHandler(object sender, ExampleCode.NewFileEventArgs e) { if (e.File.Status == ExampleFile.FileType.OutputFile) { fileOutput.File = e.File; splitFiles.Panel2Collapsed = false; } else { CreateNewDemoFile(int.MaxValue, e.File); } }
private void FileHandler(object sender, ExampleCode.NewFileEventArgs e) { browserExample.DocumentText = ExampleToHtml(); }