用户工具

站点工具


程序:代码规范

====== 代码规范 ====== ===== UI ===== **UIBinder代码规范模板** <code csharp> namespace LowoUN.Business.UI { //using HolderObjs = UIHandler.Objs_$expression$; public class UIBinder$expression$ : LowoUN.Module.UI.UIBinder { private string _icon { set{ //onUpdateImg ((int)HolderObjs.Img_Achieve, value); } } private string _name { set{ //onUpdateTxt ((int)HolderObjs.Txt_Name, value); } } public UIBinder$expression$ (int uiPanelType, int instanceID) : base (uiPanelType, instanceID) { } //if this is a item type panel, REMOVE THE CODE BELOW!!!!!!!!!!!!!!!!!!!!!! public override void OnStart () { base.OnStart (); } //if this is a normal type panel, REMOVE THE CODE BELOW!!!!!!!!!!!!!!!!!!!!!! public override void OnStart (object info) { base.OnStart (info); } } } $end$ </code> ===== 客户端 ===== ===== 服务器 =====

程序/代码规范.txt · 最后更改: 2020/04/13 21:17 (外部编辑)