private void 数据库检查() { _lumei.CreateLuMeiTxt(); try { Soft.CreateDb(); var list = _skin.GetDataTable(); if (list == null) { Soft.CreateTable(); } } catch { WriteTitle("数据库读取出错!"); WriteMessage("请确认程序拥有对软件目录的读写权限!"); } }
private void 数据库检查() { _lumei.CreateLuMeiTxt(); try { Soft.CreateDb(); var list = _skin.GetDataTable(); if (list == null) { Soft.CreateTable(); } } catch { WriteTitle("数据库读取出错!"); WriteMessage("请确认程序拥有对软件目录的读写权限!"); } }