摘要:
/** * 下載一個文件并按指定的文件名保存 * @param {String} url 要下載的鏈接 * @param {String} fileName 保存的文件名 */ export function downloadFile(url: string, fileName: string) {
閱讀全文
posted @ 2025-04-04 21:28
wzca
閱讀(46)
推薦(0)
摘要:
RichTextBox.AppendText($"[{DateTime.Now.ToString("hh:mm:ss")}] {msg}\n"); RichTextBox.SelectionStart = sendBox.Text.Length; RichTextBox.ScrollToCaret(
閱讀全文
posted @ 2016-02-27 19:02
wzca
閱讀(637)
推薦(0)
摘要:
usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingMicrosoft.VisualBasic;publicpartialclassMoneyUpperWrite:System.Web.UI.Page{privatechar[]bigChar={'零','壹','貳','叁','肆','伍'
閱讀全文
posted @ 2012-03-25 23:57
wzca
閱讀(400)
推薦(0)
摘要:
rave 補充 在國內,大凡介紹工具的書總是淺嘗即止,對于rave也是如此! 在《delphi7經典組件解析》一書中,用了3章來介紹rave。雖然,說明了rave面板上的控件怎么用,怎么設計報表,可是最關鍵的如何操縱報表,卻一字未提,這不能不說是 失敗! 因為在實際應用中,往往報表上的內容是動態變化,而不是千篇一律的,如果無法操作報表內的控件,那么就要制作數量眾多的報表,...
閱讀全文
posted @ 2009-03-30 21:08
wzca
閱讀(6287)
推薦(0)
摘要:
代碼如下: unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, InvokeRegistry, Rio, SOAPHTTPClient; type TForm1 = class(TForm) ...
閱讀全文
posted @ 2009-03-24 23:34
wzca
閱讀(686)
推薦(0)
摘要:
private static string UserMd5(string str) { string cl = str; string pwd = ""; MD5 md5 = MD5.Create();//實例化一個md5對像 // 加密后是一個字節類型的數組,這里要注意編碼UTF8/Unicode等的選擇 ...
閱讀全文
posted @ 2009-03-24 23:26
wzca
閱讀(299)
推薦(0)
摘要:
Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1unit Unit2; 2interface 3uses 4 Windows, Messages, SysUtils, Variants, Classes, Graphics, Co...
閱讀全文
posted @ 2009-03-23 15:19
wzca
閱讀(538)
推薦(0)