Time of Update: 2018-12-03
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="380"> <param name="quality" value="high" />
Time of Update: 2018-12-03
今天寫一 個自訂網頁對話方塊的例子,你是不是對一成不變的對話方塊看膩了呢,如果你的回答是肯定的呢,那就跟我來吧,let's go.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head&
Time of Update: 2018-12-03
頁面中有一個select元素,id為customer,在網上好多的介紹jquery引用select的選中值的方法都是用:$("#customer option[selected]").val();這個方法來得到selcte選中項的值。我也是一直是這麼用,不過最近安裝了FF3.5正式版,發現這種方法在它下面得不到值,就去看jquery的協助文檔,在文檔中對select選中的引用是用如下方法:$("#customer
Time of Update: 2018-12-03
private void btnShow_Click(object sender, EventArgs e) { //在設計器裡設定Columns,設定四列. //設定顯示表格線.this.lvShow.GridLines = true; this.lvShow.View = View.Details; this.lvShow.FullRowSelect = true;
Time of Update: 2018-12-03
應用一<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestRepeater.aspx.cs" Inherits="TestRepeater" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
Time of Update: 2018-12-03
//1.MDIthis.IsMdiContainer = true;//排列表單//this.LayoutMdi(MdiLayout.ArrangeIcons);//this.LayoutMdi(MdiLayout.Cascade);this.LayoutMdi(MdiLayout.TileHorizontal);//縱向排列//建立子表單void NewToolStripMenuItemClick(object sender, System.EventArgs
Time of Update: 2018-12-03
前台:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>js裝載xml檔案然後發向伺服器</title>
Time of Update: 2018-12-03
源碼:http://download.csdn.net/source/1048586App.config<?xml version="1.0" encoding="utf-8" ?><configuration> <connectionStrings> <add name="ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data
Time of Update: 2018-12-03
源碼:http://download.csdn.net/source/923503
Time of Update: 2018-12-03
今天把委託和事件研究了一個,winForm環境下,一般的小例子都是字元介面,我為了運用一下,寫了winFormCommon.cs:using System;using System.Collections.Generic;using System.Text;namespace DelegateAndEvent.App_Code{ public class Common { //定義全域變數. public static string txt = "";
Time of Update: 2018-12-03
/***************WPF入門*************** * 環境:VS2008 * 添加引用:PresentationCore、PresentationFramework、WindowsBase ******************************/using System;using System.Windows;using System.Windows.Input;namespace WpfApp{ class MainFrm {
Time of Update: 2018-12-03
這幾天的滑鼠一直都不太好用,經常的會單擊變成雙擊,很不爽。今天更徹底了,每次單擊都會變成雙擊的。 這種情況一般都左鍵的輕觸開關的觸點接觸不良造成的。找來工具,開始修理,果不其然,觸點氧化很厲害,清除氧化層,安裝再試,好了,哈哈。期間用相機記錄了一下,發上給來有相同煩惱的朋友分享一下。 中被紅色圓圈圈住的為有問題的輕觸按鍵,這裡有兩個解決方案,一是把這個開關與中鍵對換一下,另一個是把這個開關拆開修理一下。第一個要求有電烙鐵和一定的焊接能力,因為這個開關是三個管腳的,又是塑料的,比較容易被燙壞,這
Time of Update: 2018-12-03
C#winForm裡鍵盤事件的響應1,方向鍵和斷行符號不能夠在KeyDown事件裡響應.解決方案是重寫ProcessCmdKey2,其原理並不清晰.base.ProcessCmdKey調用父類的鍵盤事件. KeyDown函數等於在父類裡註冊了一個事件響應代碼.//在KeyDown事件裡無法捕獲方向鍵,斷行符號.能捕獲空格之類 //但是是重寫了之後,就不能捕獲了. private void FrmKeyDown_KeyDown(object sender,
Time of Update: 2018-12-03
實現方法:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>浮動廣告</title> <style typ
Time of Update: 2018-12-03
微軟提供的控制項http://download.csdn.net/source/413279 前台 <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/
Time of Update: 2018-12-03
XMLFile.xml<?xml version="1.0" encoding="utf-8" ?><msglist> <msg name="11"> <id>1</id> <content>content1</content> </msg> <msg name="22"> <id>2</id> <content>cont
Time of Update: 2018-12-03
今天有人提問,怎樣判斷哪個控制項獲得了焦點。http://topic.csdn.net/u/20081218/08/9cb0ff76-47d9-4c32-9210-8b8682da14b2.html<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://w
Time of Update: 2018-12-03
SQLHelper.csusing System;using System.Collections.Generic;using System.Text;using System.Collections;using System.Data;using System.Data.SqlClient;using System.Configuration;namespace HelloWinForm.DBUtility{ class SQLHelper { #region
Time of Update: 2018-12-03
DrawRectangle.cs//畫矩形的類using System;using System.Collections.Generic;using System.Text;using System.Drawing;using System.Drawing.Drawing2D;namespace wndApp.Code{ class DrawRectangle { public Point location;//螢幕上點的座標 public Size
Time of Update: 2018-12-03
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head> <title>toggle</title> <script type="te