Time of Update: 2018-12-04
對話方塊中我們常用了以下幾種: 1、檔案對話方塊(FileDialog) 它又常用到兩個: 開啟檔案對話方塊(OpenFileDialog) 儲存檔案對話(SaveFileDialog) 2、字型對話方塊(FontDialog) 3、顏色對話方塊(ColorDialog) 4、列印預瀏對話方塊(PrintPreviewDialog) 5、版面設定(PrintDialog) 6、列印對話方塊(PrintDialog)
Time of Update: 2018-12-04
一、認識Web.config檔案Web.config 檔案是一個XML文字檔,它用來儲存 ASP.NET Web 應用程式的配置資訊(如最常用的設定ASP.NET Web
Time of Update: 2018-12-04
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using
Time of Update: 2018-12-04
音效檔folder.wav放置在bin目錄下debug下1.通過API調用using System.Runtime.InteropServices;[DllImport("winmm.dll")] public static extern bool PlaySound(string pszSound, int hmod, int fdwSound); public const int SND_FILENAME = 0x00020000;
Time of Update: 2018-12-04
phpDoc使用入門1.下載在 http://sourceforge.net/projects/phpdocu/files/下載phpDoc,我的版本是1.4.32.使用解壓出來後,終端:phpdoc -h 可以查看所有的指令,選幾個重要的:-d 源php檔案的路徑-t 產生文檔後文檔的存放路徑(最好為其單獨建立一個檔案夾)-dn 包的名字(預設為default,最好改成項目的名字)-dc 目錄的名字(預設為default,最好改成項目的名字)-ti
Time of Update: 2018-12-04
JSDoc 使用入門Java語言引入了一個工具,名為javadoc。這個工具可以根據原始碼中的文檔注釋以HTML格式產生API文檔。所產生的HTML文檔在任何Web瀏覽器上都能閱讀,而且由於它是以HTML格式產生的,所以可以線上發布,這樣開發人員就能很容易地訪問這些文檔。要以一種可以輕鬆瀏覽的格式來提供API文檔,這樣開發人員就不必仔細地查看原始碼才能瞭解某個類或方法會有怎樣的行為,以及該如何使用。JSDoc則是面向JavaScript的一個類似的工具。JSDoc是一個開源工具,得到了GNU
Time of Update: 2018-12-04
在Apache中配置基於主機名稱的虛擬機器主機在同一台pc(ip:192.168.1.1)中配置三個虛擬機器主機:www.1.comwww.2.comwww.3.com訪問不同的虛擬機器主機,可以顯示不同的頁面。注意:以下的設定全部在Apache伺服器上!!1.開啟/etc/hosts,加入如下幾句:192.168.1.1 www.1.com192.168.1.1 www.2.com192.168.1.1 www.3.com2.為每個虛擬機器主機增加一個web目錄:比如我在/usr/local/
Time of Update: 2018-12-04
使用QBluetoothZero藍芽庫QBluetoothZero是第三方開發的Qt藍芽庫(以前的名稱是QBluetooth,但為了和Qt官方的藍芽庫相區別,所以改成了QBluetoothZero,不過Qt官方的藍芽庫是在最近才發布的),封裝了Symbian
Time of Update: 2018-12-04
Ubuntu下使用VirtualBox安裝VirtualBox:在http://www.virtualbox.org/wiki/Downloads下載源碼或者在Ubuntu軟體中心直接下載VirtualBoxOSE;提示:終端輸入wget
Time of Update: 2018-12-04
qooxdoo 配置說明qooxdoo是一個開源的ajax架構(還有很多類似的ajax架構,都很不錯),研究它主要是因為eyeos用的就是這個架構,而eyeos是一個非常棒的線上OS,好了,直接切入正題:1.在qooxdoo官網下載最新版:http://qooxdoo.org/download 我下的是1.5版的SDK2.由於qooxdoo需要依賴python庫,所以windows的同學們要自行先裝上python庫,在此不再贅述。而本人使用的是Ubuntu
Time of Update: 2018-12-04
伺服器上安裝了fedora,但是對gentoo很想體驗一番,沒有新機器,不想重裝系統,所以只能chroot來體驗getoo了。下載portage-20130817.tar.bz2和stage3-amd64-20130816.tar.bz2兩個檔案建立chroot目錄/opt/gentoo,將stage3-amd64-20130816.tar.bz2解壓到這個目錄,portage解壓到/opt/gentoo/usr/目錄chroot /opt/gentoo更新環境變數,env-update
Time of Update: 2018-12-04
<!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>微軟Exchange郵箱登入</title></head><
Time of Update: 2018-12-04
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;//using System.Security;using System.Security.Cryptography;namespace _Des{ public
Time of Update: 2018-12-04
為Apache安裝mod_rewritemod_rewrite這個東東的首先通過php提供的phpinfo()函數查看環境配置,通過Ctrl+F尋找到“Loaded Modules”,其中列出了所有apache2handler已經開啟的模組,如果裡麵包括“mod_rewrite”,則已經支援,不再需要繼續設定,如果沒有,需要按如下配置:重新編譯apache:./configure [原來的configure參數] --enable-rewrite (--enable-rewrite
Time of Update: 2018-12-04
//先擷取出生日期public string getBirth(string num) { string year = ""; string month = ""; string day = ""; string time = ""; if(num.Length == 18)
Time of Update: 2018-12-04
Time of Update: 2018-12-04
使用DownThemAll! FireFox外掛程式在Linux下有一款 FireFox外掛程式專門用來下載,而且有斷點續傳等強大功能,這就是DownThemAll!,下面介紹一下使用方法:1. Firefox --> 工具 --> 附加組件 -->在搜尋欄中輸入“downthemall!”,安裝2. 把downthemall!按鈕放到工具列上,方便使用:查看--> 工具列 --> 定製,
Time of Update: 2018-12-04
在aspx頁面<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" Title="Untitled Page" %><%@ MasterType VirtualPath="~/MasterPage.master" %>然後修改主版頁面中的方法為public
Time of Update: 2018-12-04
using System;using System.Collections.Generic;using System.Text;namespace GetSexByIDCard{ class Program { static void Main(string[] args) { string IdNum = Console.ReadLine(); if (IdNum.Length == 18)
Time of Update: 2018-12-04
一、ORACLE的啟動和關閉1、在單機環境下要想啟動或關閉ORACLE系統必須首先切換到ORACLE使用者,如下su - oraclea、啟動ORACLE系統oracle>svrmgrlSVRMGR>connect internalSVRMGR>startupSVRMGR>quitb、關閉ORACLE系統oracle>svrmgrlSVRMGR>connect internalSVRMGR>shutdownSVRMGR>quit啟動oracle9