void _diagOpenFile_FileOk(object sender, CancelEventArgs e) { this.SelecedFile = this._diagOpenFile.FileName; var xd = XDocument.Load(this._openFilePath); this._rootXml = SharedLogic.WrapLoadXml(xd.Root); SharedLogic.FillBindSkillTable(this._bindData, this._rootXml); }