随笔分类 - 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....
        阅读全文
                
摘要: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...
        阅读全文
                
摘要:public void SetTextWatermark(XtraReport report) { // Adjust text watermark settings. report.Watermark.Text = "内部资料请勿外泄"; report.Watermark.TextDirection = D...
        阅读全文
                
摘要: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....
        阅读全文
                
摘要:// GridControl 数据导出对应的格式 DevExpress.XtraGrid.Views.Grid.GridView view = gridControl1.MainView as DevExpress.XtraGrid.Views.Grid.GridView; if (view != null) ...
        阅读全文
                
摘要: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)) ...
        阅读全文
                
摘要:Screen s = Screen.PrimaryScreen; Bitmap bit = new Bitmap(s.Bounds.Width, s.Bounds.Height); Graphics g = Graphics.FromImage(bit);...
        阅读全文
                
摘要: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...
        阅读全文
                
摘要: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...
        阅读全文
                
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;using System.IO...
        阅读全文
                
                    
                
浙公网安备 33010602011771号