随笔分类 -  c#

摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文
posted @ 2016-10-22 16:36 刀小爱 阅读(145) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Diagnostics; 7 8 namespace ConsoleApplication7 9... 阅读全文
posted @ 2016-10-20 14:15 刀小爱
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication5 { class Program { static void Main(s... 阅读全文
posted @ 2016-10-19 16:29 刀小爱
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2016-10-18 11:12 刀小爱 阅读(720) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-10-09 13:46 刀小爱 阅读(1) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-10-04 14:23 刀小爱 阅读(2) 评论(0) 推荐(0)
摘要:public void SetTextWatermark(XtraReport report) { // Adjust text watermark settings. report.Watermark.Text = "内部资料请勿外泄"; report.Watermark.TextDirection = D... 阅读全文
posted @ 2016-09-26 10:08 刀小爱 阅读(808) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-09-23 10:20 刀小爱 阅读(0) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.... 阅读全文
posted @ 2016-09-22 10:08 刀小爱 阅读(172) 评论(0) 推荐(0)
摘要:// GridControl 数据导出对应的格式 DevExpress.XtraGrid.Views.Grid.GridView view = gridControl1.MainView as DevExpress.XtraGrid.Views.Grid.GridView; if (view != null) ... 阅读全文
posted @ 2016-09-07 16:05 刀小爱 阅读(308) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-02-18 08:56 刀小爱 阅读(1) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2016-02-13 09:48 刀小爱 阅读(7) 评论(0) 推荐(0)
摘要:1.asp.net 默认提交是post 根据 Page.IsPostBack 就能猜出来 默认的是哪种提交方式 而 html 默认是 GET 2. 远程连接 Process.Start( "mstsc","/v:192.168.1.1"); 3. 获取本机的IP Dns.GetHostEntry(D 阅读全文
posted @ 2016-01-30 19:35 刀小爱
摘要:Thread th = new Thread(() => { // Directory.p if (!File.Exists(this.textBox1.Text)) ... 阅读全文
posted @ 2016-01-23 20:18 刀小爱 阅读(136) 评论(0) 推荐(0)
摘要:Screen s = Screen.PrimaryScreen; Bitmap bit = new Bitmap(s.Bounds.Width, s.Bounds.Height); Graphics g = Graphics.FromImage(bit);... 阅读全文
posted @ 2016-01-23 09:17 刀小爱 阅读(191) 评论(0) 推荐(0)
摘要:string str = @"User=SYSDBA;Password=masterkey;Database=" + @"192.168.6.5:c:\ACA1300.FDB;DataSource=192.168.6.5; Port=3050;Dialect=3; Charset=NONE;Ro... 阅读全文
posted @ 2016-01-18 08:25 刀小爱
摘要:using System.Runtime.InteropServices; [DllImport("user32.dll", CallingConvention = CallingConvention.StdCall)] public static extern int Message... 阅读全文
posted @ 2016-01-12 09:58 刀小爱 阅读(321) 评论(0) 推荐(0)
摘要:this.crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None; 阅读全文
posted @ 2016-01-08 15:29 刀小爱
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;namespace Conso... 阅读全文
posted @ 2016-01-03 19:40 刀小爱 阅读(277) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;using System.IO... 阅读全文
posted @ 2016-01-03 11:38 刀小爱 阅读(191) 评论(0) 推荐(0)