private void ParseHtml() { try { this.HtmlHandler = new HtmlHandler(); } catch (FileNotFoundException) { Generals.RaiseAlert($"Failed to find '{HtmlHandler.HtmlFileName}' in the directory!!!"); this.Close(); } }
private void LoadXml() { try { this.xmlDoc = new XmlDocument(); this.xmlDoc.Load(XmlFileName); } catch (FileNotFoundException) { Generals.RaiseAlert($"Can't find the Xml file!!! ({XmlFileName})"); Close(); } }