随笔分类 - C#
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;namespace Common{ /// /// 复选框操作类 ...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using ZedGraph;namespace TestZedGraphCo...
阅读全文
摘要:自己 整理了 下 代码 测试了下 还行。。。 #region 操作树视图控件 /// /// 自定义需要的类型 /// enum DatasetType { DTFeatureCla...
阅读全文
摘要:1、错误 1 Files 的值“ < < < < < < < .mine”无效。路径中具有非法字符。使用SVN进行更新的时候,出现了如上问题,解决方法如下:直接把Debug下的文件给删除 或 在你的工程OBJ/DEBUG目录下,找到 工程名.csproj.FileListAbsolute.txt的文...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using System.Windows.Forms;namespace MyComman...
阅读全文
摘要:更多:https://i.cnblogs.com/EditPosts.aspx?postid=3673943
阅读全文
摘要:更多:https://i.cnblogs.com/EditPosts.aspx?postid=3673944
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;namespace MyCommanHelper{ public class...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace MyCommanHelper{ public class MathHelper { #region...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;namespace MyCommanHelper{ //...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Windows.Forms;namespace MyCommanHelper{...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.OleDb;using System.Data;using System.Windows.Forms...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace MyCommanHelper{ public class ConvertHelper { #reg...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;using System.Drawing;using System.Collect...
阅读全文
摘要:private int runProcess(string fileName, string appParam) { int returnValue = -1; try { Process...
阅读全文
摘要:// Initialize unmanged memory to hold the array. int size = Marshal.SizeOf(bytes[0]) * bytes.Length; IntPtr pnt = Marshal.AllocHGlobal(size); try { // Copy the array to unmanaged memory. Marshal.Copy(bytes, 0, pnt, bytes.Length); // Copy the unmanaged array back to another managed array. double[]...
阅读全文
摘要:设置当前线程的区域性public static void SetCurrentThreadCultureInfo(string name) { Properties.Resource.Culture = new System.Globalization.CultureInfo(name); var newName = name; switch (Properties.Resource.Culture.Name) { case "zh-CHS": newName = "zh-CN"; break; case "zh-CHT": newN
阅读全文
摘要:如设置当前语言上下文:AppDomain.CurrentDomain.UnhandledException +=CurrentDomainUnhandledException;If(System.Configuration.ConfigurationManager.AppSettings[“Languange”] != null){ Resources.Culture = new CultureInfo(System.Configuration.ConfigurationManager.AppSettings[“Languange”] )}Common.Properties.Resources
阅读全文
摘要:我要测试的文件夹如下(首先设置问价的权限为ReadOnly 只读,代码将修改其为可读):代码如下:using System;using System.IO;namespace Attri{classProgram{staticvoidMain(string[] args){string path ...
阅读全文

浙公网安备 33010602011771号