自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

我的英文站点:https://iorilan.medium.com/

编码要踏实 架构要落地

  • 博客(14)
  • 资源 (6)
  • 收藏
  • 关注

原创 c# detected process waiting for input

1.get the process need to judgement 2.get all threads in the process and find if any thread is waiting and reason is user request method code :public bool IsWaitingForUserInput(Process p

2013-01-31 19:58:17 1451

原创 c# set tab page focus

only need to set the selectedIndex to the one  you need to get focus. tabClasses.SelectedIndex = tabClasses.TabPages.Count - 1;

2013-01-22 19:05:37 1168

原创 c# find control in windows form

c# form find control  RichTextBox rtb = sender as RichTextBox;            if (rtb == null)                return;            rtb = (RichTextBox)this.Controls.Find(rtb.Name, true).First

2013-01-22 19:02:39 1633

原创 open/close sharepoint dialog

open sharepoint dialog :function OpenCustomDialog(dialogUrl, dialogWidth, dialogHeight, dialogTitle, dialogAllowMaximize, dialogShowClose) {    CloseProgressPopUp();    var opt

2013-01-21 10:05:23 1529

原创 how to break out the nested for loop

Action job = () =>            {                foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())                {                    foreach (Type t in a.GetTypes())

2013-01-17 16:28:05 976

原创 Show Console Window in Windows Application

private void Form1_Load(object sender, EventArgs e) { AllocConsole(); } [DllImport("kernel32.dll", SetLastError = true)] [return: MarshalAs(UnmanagedType.B

2013-01-16 15:58:17 1409

原创 c# change textbox / richtextbox each character size to same size

make the character same size , just need to change a font family :txtSource.Font = new Font(FontFamily.GenericMonospace, txtSource.Font.Size);then each char will be displayed in the same s

2013-01-11 18:47:52 1236

原创 c# rich text box add text into cursor position

public static void AppendTextToCursor(string insertText, string oldText, object sender, ref Form _frmMain)        {            RichTextBox rtb = sender as RichTextBox;            if (rtb == null

2013-01-11 18:45:59 1794

原创 error while unload assembly from GAC "assembly is being used by another process"

if GAC shows assembly can not been removed because of it is using by another process , try iisreset.exe .

2013-01-10 09:19:30 1129

原创 c# code pad version 1.0

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using Sy

2013-01-08 17:00:07 1309

转载 sql server return xml result

forward from :http://www.simple-talk.com/sql/learn-sql-server/using-the-for-xml-clause-to-return-query-results-as-xml/SQL Server lets you retrieve data as XML by supporting the FOR XML

2013-01-03 15:59:53 1252

原创 sql server store procedure summary part1

1.ISNULL() function select ISNULL(AgentCode,'-') as AgentCode from cm.FrmAddressForService order by CreatedDate desc;if agentcode is null , then replace by '-'2.assigned value from a query

2013-01-02 18:01:22 1104

转载 Row_Number usage

Row_Number() over(partition , order by)  usage .foward form :http://msdn.microsoft.com/en-us/library/ms186734.aspxA. Returning the row number for salespeopleThe following exa

2013-01-02 15:39:28 1132

原创 sql find out record one-to-one

one case can has multiple classes case : class = 1:nfind out the case number which has only one class.select * from hm.[Class] where CaseFK in(select CaseFK clsCount from hm.[Class] group

2013-01-02 14:20:45 988

锋利的jquery PDF带书签目录完整版

《锋利的jQuery》高清扫描PDF带书签目录完整版+源码,特此分享,学习愉快!

2011-05-23

java 多线程下载 (单文件)

演示了JAVA中的多线程 界面简单 需要请拿去

2009-06-12

socket 通信 简单示例

演示了socket在C#中的基本用法,初学者拿去

2009-06-12

J2ME 小游戏(多线程操作示例)

多线程实现的,原理很简单,这个游戏只是多线程的一个示例,没有多大的娱乐功能,学习J2ME的新手可以拿去~~

2009-04-13

《编译原理与实践》(孙悦红)答案

前一段给这本书的作者发了个邮件~感觉做作业困难,想要答案~没过两天这个作者就给我发来了~好作者~~拿来跟大家分享一下~有需要的拿去~

2009-04-13

C# 简单的聊天程序

c#写的 适合初学者,我也是刚接触SOCKET通信,拿出来给SOCKET初学者分享一下 。

2009-03-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除