網路城邦
上一篇 回創作列表 下一篇   字體:
About our second work
2010/04/06 08:07:22瀏覽1277|回應32|推薦1

*已經有回應者,請務必要看一下我的回應!如果你的作品有問題....那就請你務必要修正好,再repost!我會再檢查一次!

我们先做左半邊的部份,然後再逐一的增加功能(當然就是在購票時,應該享有的折扣或是有優惠時段),不然一次就來個龐大的程式,你也是會有點撐不下去的感覺! ^_^ 當然啦!跟真正的大系統相比,這是[Small Case]但對各位來說剛開始罷了!一下子[灌]太多,會撐飽了!很容易就產生畏懼感!所以 take it easy ! we shall completed it step by step!

構想: 1.用幾個變數代表 各站的公里數,還有代表起站,終站,單價,票價!

          2. 由起站的textbox取得起站文字,轉換成起站公里數!相同方式,取得終站公里數!

          3. ticket_price= (ended-start)*unitprice
             or you can use -> ticket_price=Math.Abs(ended-start)*unitprice

          4. final show at the label -> from 起站 to 終站 的票價為 ticket_price

          請依照上述的 idea 來design form , 撰寫程式碼 -> final make it as .exe file and upload
          to youe network storage and post the link to this post! 

2010/04/13  現在我們要進行功能擴增了!加入考慮因素;購買的張數,是否屬於折價時段(共計有(1)7折(2)半價時段(3)自由座(4)來回票(5)原價時段) 所以在票價計價上,有條件式的選擇, 我們利用 "RadioButton"此控制項來做 discount 條件的選定! 因為此控制項屬於單選條件,比較方便! 使用其 radiobuttonN.checked 屬性( True or Flase)

Please complete the add-on function coding and make it to .exe file and upload to your network storage and post your link in this post thanks!

提醒:開學上課至今,已經有份的作業了!你(妳)完成幾份了?請自己Checked一下!有缺的話,速補齊!不要拖延!

( 知識學習其他 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=yangfu&aid=3917039

 回應文章 頁/共 4 頁  回應文章第一頁 回應文章上一頁 回應文章下一頁 回應文章最後一頁

810166
810166
2010/06/15 11:35

404

33

陳燕琳

http://wwws.sysh.tc.edu.tw/~h810166/


810168
the secon work
2010/05/29 20:32
高一四班
36號
楊珣平
http://wwws.sysh.tc.edu.tw/~h810169/the_second_work.exe


40410
票價
2010/05/04 12:03

http://wwws.sysh.tc.edu.tw/~h810143/vbhomework/

40410

第一階段...


vb
vb
2010/04/29 14:51

40401 刁維芬

http://wwws.sysh.tc.edu.tw/~h810134/

第一次回應 不用看 因為 無法顯示vb

夫子(yangfu) 於 2010-05-04 10:22 回覆:
你是說前一個呀! OK! I shall skip it! 你這份作業是蠻久之前的耶!其他的作業要 Hurry to catch up !

VB
vb work
2010/04/29 14:41

404 01

刁維芬

http://wwws.sysh.tc.edu.tw/~h810134/


810171
my work
2010/04/27 11:55

高一四班

38

葉育華

http://wwws.sysh.tc.edu.tw/~h810171/

夫子(yangfu) 於 2010-04-27 12:02 回覆:
你要交的是那一份的作業呢?

404 13 林育旻
my work
2010/04/27 11:11

http://wwws.sysh.tc.edu.tw/~h810146

夫子(yangfu) 於 2010-04-27 11:50 回覆:
OK!你的票價計算系統的第一階段完成了!請繼續進入到第二階段吧!加油!

40327
40327的作業
2010/04/27 10:37

因為右邊欄位的程式碼沒有用到,所以我自行刪掉了,

如果需要補回來煩請告知

403  27

http://wwws.sysh.tc.edu.tw/~h810116

夫子(yangfu) 於 2010-04-27 11:52 回覆:
Where you put your homework ? can't find at the work floder?

810045
810045
2010/04/25 18:15

401

45

蘇亭語

http://wwws.sysh.tc.edu.tw/~h810045/

夫子(yangfu) 於 2010-04-27 11:53 回覆:
OK!you had finished the first part of the ticket system program please continuous to second part!

810068
810068
2010/04/22 11:11

402

23號

馬孟揚

http://wwws.sysh.tc.edu.tw/~h810068

夫子(yangfu) 於 2010-04-27 11:56 回覆:
第一功能剛完成?????加油哦!還有優惠時段考慮和下拉清單選擇的部份耶!
頁/共 4 頁  回應文第一頁 回應文章上一頁 回應文章下一頁 回應文章最後一頁