public bool AddorUpdateCategory(uint ID, string name, string auto, uint color) { bool res = krnGateway.AddorUpdateCategory(ID, name, auto, color); if (OnCategoryListChanged != null) { OnCategoryListChanged(this, null); } return(res); }