/* Initialize class - try to load the default SAX parser if there is one. */ private void MainFormLoad(object sender, System.EventArgs e) { try { reader = SaxReaderFactory.CreateReader(null); } catch { // ignore exception reader = null; } if (reader != null) { Type readerType = reader.GetType(); parserLbl.Text = readerType.FullName; } else parserLbl.Text = noParserLoaded; UpdateUI(); }