daixinet

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页

2013年8月9日

摘要: m_Element.Fill = SystemColors.WindowBrush;BorderBrush="{x:Static SystemColors.WindowBrush}" 阅读全文
posted @ 2013-08-09 11:25 daixinet.com 阅读(188) 评论(0) 推荐(0) 编辑

2013年8月7日

摘要: 有时候我们需要详细展示数据源的含义,这时候就需要用到 RepositoryItemLookUpEdit展示:代码详情:ColumnData = new DevExpress.XtraGrid.Columns.GridColumn(); ColumnData.Caption = "状态"; ColumnData.Visible = true; ColumnData.OptionsColumn.FixedWidth = false; ColumnData.Width = 10; Colu... 阅读全文
posted @ 2013-08-07 14:04 daixinet.com 阅读(291) 评论(0) 推荐(0) 编辑

2013年8月4日

摘要: 做了一个自定义控件和一个自定义Grid,里面的元素可以随着绑定属性变化:效果图(一定滑块):关键代码:1、自定义属性代码: public class MyGrid : Grid { public static readonly DependencyProperty ColumnCountProperty = DependencyProperty.Register("ColumnCount", typeof(int), typeof(MyGrid), new FrameworkPropertyMetadata((int)1,FrameworkPr... 阅读全文
posted @ 2013-08-04 19:21 daixinet.com 阅读(2509) 评论(0) 推荐(0) 编辑

2013年7月31日

摘要: 效果图:下载:Code参考:http://www.codeproject.com/Articles/33001/WPF-A-Simple-Color-Picker-With-Previewhttp://www.codeproject.com/Articles/229442/WPF-Color-Pic... 阅读全文
posted @ 2013-07-31 12:08 daixinet.com 阅读(1808) 评论(0) 推荐(1) 编辑

2013年7月9日

摘要: JOBdeclare jobno number;begin dbms_job.submit( jobno, 'insert into tmptable1 values(1,1);', to_date('2013-07-09 12:00:00','yyyy-mm-dd HH24:mi:ss'),... 阅读全文
posted @ 2013-07-09 13:36 daixinet.com 阅读(149) 评论(0) 推荐(0) 编辑

2013年6月28日

摘要: SQL 语句优化: 1、union 为Bak的 分开写Where语句,Where后再union 2、union 换为union all 3、Select * 换成具体字段 3、有参数的,用参数列表,AnsiString对应的char,varchar,string对应的nchar,nvarcha... 阅读全文
posted @ 2013-06-28 09:20 daixinet.com 阅读(176) 评论(0) 推荐(0) 编辑

2013年6月27日

摘要: 方法:1、not In2、Left join3、select * from tmptable1where (select count(1) from tmptable2 where tmptable1.agentid = tmptable2.agentid and tmptable1.phone = tmptable2.phone)=0 阅读全文
posted @ 2013-06-27 13:23 daixinet.com 阅读(1411) 评论(0) 推荐(0) 编辑

2013年5月8日

摘要: Intersoft ClientUI 阅读全文
posted @ 2013-05-08 15:19 daixinet.com 阅读(236) 评论(0) 推荐(0) 编辑

2013年4月23日

摘要: 思想:根据GUID获得种子,然后获得随机数,这个是完全随机的 static int GetRandomNumber(int min, int max) { int rtn = 0; Random r = new Random(); byte[] buffer = Guid.NewGuid().ToByteArray(); int iSeed = BitConverter.ToInt32(buffer, 0); r = new Random(iSeed); ... 阅读全文
posted @ 2013-04-23 10:33 daixinet.com 阅读(226) 评论(0) 推荐(0) 编辑

2013年4月22日

摘要: 调用方法: ReturnObject loadReturnObject = WaitingWindow.Show("正在加载", aBO, "GetA", new Object[] { "", "", "", "", m_IteratorValues, false }) as ReturnObject;下载:Code 阅读全文
posted @ 2013-04-22 09:50 daixinet.com 阅读(1099) 评论(1) 推荐(0) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页