Smobiler
超级松林
人生需要长时间的准确定位。 所以一直在搞软件这个事。
展开
-
C#中日期格式转换(实用于Smobiler)
public static string GetDateStr(DateTime vDdateTime) { string RTN = ""; if (vDdateTime !=null ) { RTN = vDdateTime.ToString("yyyy-MM-dd hh:mm"); } ...原创 2020-03-18 19:29:35 · 170 阅读 · 0 评论 -
Smobiler中,PopList通用选择实现
一、PopList控件实现通用选择难点: 1.1通用加载过程;一层加与两层加载; 1.2选择结果分配; 二、过程实现 2.1数据加载过程的实现 public static Boolean PopListCommAddList(PopList Vlist, String GSQL, String GItrmFld, String LSQL, String LItrmFld, String Grp...原创 2020-02-27 21:30:56 · 442 阅读 · 0 评论 -
Smobiler中Form窗体切换超出10次报错--学中,可以解决窗口的关闭
问题 切换Form时,通过 show(Form);打开新窗体;再通过 this.Form.Close();关闭窗体,但是切换超出10次后,就会异常报错。报错提示:FormStackMaxCount exceed:10 解决 利用Show的回调关闭窗体this.Show(b,(obj,args)=>{this.Close();//回调事件在b关闭后触发}); 例如: 窗体a中写代码跳转b...原创 2020-02-22 10:12:00 · 729 阅读 · 0 评论 -
Smobiler中Poplist控件的用法
PopList控件用法 一、添加项目 C#: PopListGroup pg = new PopListGroup() { Title = "浙江",TitleVisible=true }; pg.Items.Add(new PopListItem("嘉兴")); pg.Items.Add(new PopListItem(...原创 2020-02-19 18:30:07 · 889 阅读 · 0 评论