huzige0265

导航

 

2020年4月17日

摘要: <Style TargetType="TextBox"> <Setter Property="Height" Value="24" /> </Style> 阅读全文
posted @ 2020-04-17 16:19 huzige0265 阅读(525) 评论(0) 推荐(0) 编辑
 

2020年4月10日

摘要: var list = new List<param>(); if (ds != null && ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0) { var ps = typeof(param).GetProperties().ToList(); 阅读全文
posted @ 2020-04-10 16:52 huzige0265 阅读(245) 评论(0) 推荐(0) 编辑
 

2020年4月3日

摘要: 1、样式 <Style TargetType="{x:Type ProgressBar}"> <Setter Property="Maximum" Value="100" /> <Setter Property="Height" Value="70" /> <Setter Property="Val 阅读全文
posted @ 2020-04-03 08:49 huzige0265 阅读(338) 评论(0) 推荐(0) 编辑
 

2020年4月2日

摘要: 1、启动子线程 Task.Factory.StartNew(() => PrintExecute(false)); 2、涉及到列表刷新时需要转回主线程刷新,属性一般会自动刷新 Application.Current.Dispatcher.Invoke(new Action(() => { Curre 阅读全文
posted @ 2020-04-02 15:32 huzige0265 阅读(775) 评论(0) 推荐(0) 编辑
 

2020年3月6日

摘要: 1、导出所有的程序集并且实例化 private void Compose() { var catalog = new AssemblyCatalog(Assembly.GetExecutingAssembly());//反射 CompositionContainer container = new 阅读全文
posted @ 2020-03-06 10:37 huzige0265 阅读(749) 评论(0) 推荐(0) 编辑
 

2020年2月11日

摘要: SELECT trim(regexp_substr(str, '[^,]+', 1, level)) strRows FROM (SELECT '12,1321,1234' as str from dual) tCONNECT BY instr(str, ',', 1, level - 1) > 0 阅读全文
posted @ 2020-02-11 17:50 huzige0265 阅读(200) 评论(0) 推荐(0) 编辑
 

2019年11月28日

摘要: --列信息SELECT rownum 序号,t.COLUMN_NAME 名称,t.DATA_TYPE 类型,t.DATA_LENGTH 长度,t.NULLABLE 可为空,t.DATA_DEFAULT 缺省值,cmt.comments 描述FROM USER_TAB_COLUMNS T inner 阅读全文
posted @ 2019-11-28 15:05 huzige0265 阅读(815) 评论(0) 推荐(0) 编辑
 

2019年6月26日

摘要: 将绑定选择值改成绑定整个实体即可 阅读全文
posted @ 2019-06-26 11:35 huzige0265 阅读(205) 评论(0) 推荐(0) 编辑
 

2018年12月27日

摘要: public static type GetClassType(string ClassName,string dllname) { Type ClassType =null; foreach(Assembly am in AppDomain.CurrentDomain.GetAssemblies( 阅读全文
posted @ 2018-12-27 09:04 huzige0265 阅读(113) 评论(0) 推荐(0) 编辑
 

2018年12月7日

摘要: <DataGridTemplateColumn Width="100" Header="实测值"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <StackPanel HorizontalAlignment="Left" Orientat 阅读全文
posted @ 2018-12-07 22:00 huzige0265 阅读(99) 评论(0) 推荐(0) 编辑