有沒有人用過 C# Applet 啊?

看板C_Sharp (C#)作者 (雪...)時間21年前 (2003/02/09 17:44), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/5 (看更多)
看起來用 C# 寫程式的人好像也並不多呢, 其實 Applet 也可以用 C# 來寫唷! 但是似乎目前只能用 IE 來開啟... -- Here is an example: <!-- test.html--> <html> <body> <object classid="http:test.dll#test" width="200" height="150"> </object> </body> </html> // test.cs // csc /target:library test.cs using System; using System.Drawing; using System.Windows.Forms; public class test : Control { override protected void OnPaint(PaintEventArgs e) { Graphics g = e.Graphics; g.DrawEllipse(Pens.Red, ClientRectangle); } } -- ※ 發信站: 批踢踢實業坊(ptt.csie.ntu.edu.tw) ◆ From: 211.23.228.106

推 61.224.97.29 02/09, , 1F
試不出來...我有擺在iis上唷....
推 61.224.97.29 02/09, 1F

推 211.23.228.106 02/10, , 2F
有 compile 嗎? .dll 是不是放同一個目錄?
推 211.23.228.106 02/10, 2F
文章代碼(AID): #-HYBowO (C_Sharp)
文章代碼(AID): #-HYBowO (C_Sharp)