Time of Update: 2015-05-25
標籤:c# winfrom 增刪改查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.Data.OleDb;using
Time of Update: 2015-06-25
標籤:背景 在工作過程中在使用架構的時候,遇到寫Linq的判斷條件的時候,我代碼寫成"t=>t.x.Equals(model.Id)&t.y.Equals(model.Name)"類似這種的形式。但是結果程式報錯。然後我就寫了下面的代碼。代碼1 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 var
Time of Update: 2015-03-12
標籤:網站開發 微軟 課程 c# mvc 最新《微軟C#6.0語言OOP物件導向編程》《微軟ASP.NET\MVC56網站開發》《微軟Web服務\WCF\Web API3.0課程視頻》下載 下載連結:http://pan.baidu.com/s/1bnjJQnd 密碼:36ji650) this.width=
Time of Update: 2015-11-05
標籤:現在有三個控制項並排放置第二個控制項有隱藏功能隱藏後第一個控制項和第三個控制項的距離要縮小,於是就要改變第三個控制項的位置嘗試用Location.X屬性去設定,但是被告知此非變數於是只能另外想辦法 搜到如下解決方案:http://blog.csdn.net/daowzq/article/details/7488332 第一種方法: &
Time of Update: 2015-10-30
標籤:簡單的xml操作--解析技能xml xml檔案<skills> <skill> <id>1</id> <name lang="cn">大荒囚天指</name> <demage>100</demage> </skill> <skill> <id>2</id> <name
Time of Update: 2015-10-16
標籤: 我在網上找了好多的這方面的文章,真正能夠實現出來的幾乎沒有。 只有我在1年前下載並調試成功的案例。那麼GSOAP是比較複雜的實現過程,需要學習的理論知識也比較多,需要深入瞭解的可以到官網上去下載。 那麼調試時借鑒別人的文章是非常有用的,但是一定要看清對方調試工具的版本號碼。1.1.1.1 環境l VS2012l GSOAP 2.8.1
Time of Update: 2015-08-28
標籤:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Text;using System.Windows.Forms;using System.Security.Cryptography;//加密部分using System.IO;
Time of Update: 2015-07-30
標籤:引用:using System.Net.Mail;public class EmailHelper { public static bool SendEmail(string title, string body, string address) { try { MailAddress from = new MailAddress("[
Time of Update: 2015-07-23
標籤:C#6.0新特性怎麼用系列文章Visual Studio
Time of Update: 2015-07-17
標籤:http://www.cnblogs.com/Mainz/archive/2011/03/10/1980060.html 1: dynamic a = 10; 2: a = a + 10; 3: Console.WriteLine(a.GetType());此段代碼會輸出 System.Int32,第二行不需要類型轉換,因為在運行時識別類型。dynamic 在後台使用 System.Object 類型。但與 object
Time of Update: 2015-06-01
標籤: public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { Graphics g = this.CreateGraphics();//建立GDI對像 //建立畫筆(顏色) Pen npen = new Pen(
Time of Update: 2015-03-19
標籤:求逆序數,快排 public static void acm1007(int a, string[] c) { Dictionary<int, string> dic = new Dictionary<int, string>(); int[] i = new int[a]; var j = 0; foreach (var item in c)
Time of Update: 2015-03-02
標籤:一、章節複習: 迴圈。反覆執行某段語句一種文法形式。 1.基本文法: for( 初始條件 ; 迴圈條件 ; 狀態的改變 ) { 迴圈體 } 迴圈的四要素。 迴圈的執行過程。初始條件--迴圈條件--迴圈體--狀態改變--迴圈條件--。。。。。 案例:1.列印10您好。2.顯示1-100的數(所有的數,奇數,偶數)。3.顯示ASCII碼。 2.迴圈的嵌套。 for( ...;... ; ...) { for(...;...;...) { } }
Time of Update: 2015-02-03
標籤:c#wpf binding 中的pat c#wpf <TextBox x:Name="txt1" /><TextBlock x:Name="txt2" Text="{Binding Path=Text, ElementName=txt1}" /> //綁定的是名為txt1的
Time of Update: 2015-02-04
標籤:1.簡單調用外部程式檔案(exe檔案,批處理等),只需下面一行代碼即可System.Diagnostics.Process.Start(“應用程式檔案全路徑”);2.如果要等待調用外部程式執行完畢才執行下面代碼,只需要在後面加上WaitForExit()方法System.Diagnostics.Process.Start(應用程式檔案全路徑).WaitForExit();3.另一種方法:使用執行個體化方法不使用靜態方法1 Process process =
Time of Update: 2015-01-24
標籤:用C#Winform寫個簡單的批量清空檔案內容和刪除檔案的小工具本文介紹這個簡單得不能再簡單的小項目。做這個項目,有以下目的。1 當然是做個能用的工具2 學習使用Github 關於用VS2013建立一個項目並添加到Github的教程,請參考(http://www.admin10000.com/document/4004.html)。簡單來說,就是先用VS建立項目;然後在Github網站上建立一個Respo(本項目的代碼託管項目),記下(https://*.gi
Time of Update: 2015-01-15
標籤:關聯式資料庫 技術 通用 開發 講師 課程講師:風舞煙課程分類:.NET架構適合人群:初級課時數量:19課時更新程度:完成服務類型:C類(普通服務類課程)用到技術:FluentData涉及項目:FluentData輕量級需要更多相關資料可以聯絡 Q2748165793課程介紹3.1 關於ORM一、什麼是ORM &
Time of Update: 2015-01-13
標籤:一.UDP協議UDP(User Datagram
Time of Update: 2015-01-09
標籤: TcpSend視窗用於發送訊息,另外寫一個用於接收訊息的應用程式,訊息接受到以後,必須要關閉接收訊息的視窗,才能在接收新的訊息,不知道怎麼能解決這個問題。原始碼:發送訊息的視窗代碼 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using
Time of Update: 2014-11-06
標籤:winform style blog http io color ar 使用 for 1.建立一個Windows表單應用程式 2.添加檔案夾及圖片資源檔案夾圖片(folder.p