網路城邦
上一篇 回創作列表 下一篇   字體:
About our second work
2010/04/06 08:07:22瀏覽1276|回應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 頁  回應文章第一頁 回應文章上一頁 回應文章下一頁 回應文章最後一頁

810053
810053
2010/04/06 10:07

810053

8號

吳旻鍵

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

南下北上都可了

夫子(yangfu) 於 2010-04-06 10:59 回覆:
Very Good! 那樣的話,再做進一步的修飾時就不需要再考慮到南下北上了!接下來你要考慮:是否來回票?是否為打折時段?還有購票張數....等等!可能會碰上的一些條件因素,再來進行程式的一步步修改!讓程式到 final的時候能夠與實際使用的程式蠻接近的!

810061
810061
2010/04/06 09:59

1.810061

2.16號

3.林佩樺

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

夫子(yangfu) 於 2010-04-06 10:04 回覆:

Very Good! you are the first one to responed the post ! and you had finished the work !

don't forget to keep the source code with you cause we gona change the form design to match with truely using condition! have fun with the VB! ^_^

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