
先確認有安裝IIS
新增移除程式->開啟或關閉Windows功能
勾選Internet Information Services
me1237guy 發表在 痞客邦 留言(0) 人氣(122)

安裝Multi-Touch Vista driver前安裝Multi-Touch Vista driver前double click “Install driver”請選擇<安裝>安裝Multi-Touch Vista driver後安裝Multi-Touch Vista driver後
me1237guy 發表在 痞客邦 留言(0) 人氣(372)

Download Microsoft XNA Game Studio 4.0 ============================================================================Microsoft® Surface® 2.0 SDK and Runtime
me1237guy 發表在 痞客邦 留言(0) 人氣(30)

加入參考加入Microsoft.VisualBasicprivate void button1_Click(object sender, EventArgs e)
{
timer1.Interval = 100;
timer1.Enabled = !timer1.Enabled;
}
me1237guy 發表在 痞客邦 留言(0) 人氣(103)

參考資料: Form.AcceptButton 屬性 能做什麼?
想像一下如果使用者在 textBox 填好資料後,不用滑鼠,按 Enter 就能執行下一步的動作,是不是蠻方便的。
namespace AcceptBtnTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.AcceptButton = button1;
}
me1237guy 發表在 痞客邦 留言(0) 人氣(505)

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 System.IO;
me1237guy 發表在 痞客邦 留言(0) 人氣(486)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Finder
{
public class Finder
{
public static int Find<T>(T[] items, T item)
{
for (int i = 0; i < items.Length; i++)
{
if(items[i].Equals(item))
{
return i;
}
}
return -1;
}
}
class Program
{
static void Main(string[] args)
{
int pos = 0;
int val = 5;
int[] seqence = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
pos = Finder.Find<int>(seqence, val) + 1;
Console.WriteLine("The position of number "+ val.ToString() + " is " + pos.ToString());
//======================================================================
string s = "Peter";
string[] str = new string[] { "Jane", "Peter", "Ryan" };
pos = Finder.Find<string>(str, s);
Console.WriteLine("The position of string " + s + " is " + pos.ToString());
Console.ReadLine();
}
}
}
me1237guy 發表在 痞客邦 留言(0) 人氣(1,711)

namespace WebCam
{
public partial class Form1 : Form
{
private Capture _capture = null; // 影像機
private bool _captureInProgress; // 是否擷取中
me1237guy 發表在 痞客邦 留言(0) 人氣(237)

加入參考: C:\Emgu\emgucv-windows-universal-cuda 2.9.0.1922\bin\Emgu.CV.dllA wrapper for the OpenCV library (opencv_core, opencv_calib3d, opencv_contrib, opencv_features2d, opencv_highgui, opencv_imgproc, opencv_objdetect and opencv_video)接著仿照上步驟也加入Emgu.Util.dll加入以下三個namespaceusing Emgu.CV;
using Emgu.CV.CvEnum;
using Emgu.CV.Structure;
me1237guy 發表在 痞客邦 留言(0) 人氣(1,092)

加入參考FoconSvr.exeusing FaconSvr;加入DataGridView1按下<加入>
me1237guy 發表在 痞客邦 留言(0) 人氣(152)