摘要: 原文链接:[C#] 非同步呼叫方法並跳出處理中視窗 | 愛流浪的小風 - 點部落 (dotblogs.com.tw) 前言 當我們在Winform進行某些比較花時間的運算時, 若沒有使用非同步的方法來呼叫,畫面上的視窗就會顯示沒有回應, 這是一種比較差的使用者體驗,可能會讓使用者以為當機了, 在這邊 阅读全文
posted @ 2023-06-07 16:53 灰色小五 阅读(26) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <select onchange="alert(this.value)"> <option va 阅读全文
posted @ 2023-02-19 19:46 灰色小五 阅读(90) 评论(0) 推荐(0)
摘要: 在类中创建一个方法 方式一:在类内写方法 function Product(pno,pname,price){ //属性 this.pno=pno; this.pname=pname; this.price=price; //方法 this.getPrice=function(){ return t 阅读全文
posted @ 2023-01-30 17:08 灰色小五 阅读(123) 评论(0) 推荐(0)