- Timestamp:
- Jul 21, 2008, 6:31:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/TestCase/UI_Sample/step5_DayTimeCheck.ab
r559 r561 1 '「Win32プログラミング講座 ~ Step5. ボタン コントロールを使う ~」のAB5移植版 2 'http://www.activebasic.com/help_center/articles/win32/step05/ 1 /*! 2 @file 3 @brief 「Win32プログラミング講座 ~ Step5. ボタン コントロールを使う ~」のAB5移植版 4 http://www.activebasic.com/help_center/articles/win32/step05/ 3 5 4 '2008/07/20 Egtra 6 @date 2008/07/20 7 @auther Egtra 8 */ 5 9 6 10 #require <Classes/ActiveBasic/Windows/UI/Form.ab> 7 11 #require <Classes/ActiveBasic/Windows/UI/Application.ab> 8 12 #require <Classes/ActiveBasic/Windows/UI/Button.ab> 13 #require <Classes/ActiveBasic/Windows/UI/TaskMsg.ab> 9 14 10 15 Imports ActiveBasic.Windows.UI 11 16 Imports System 17 18 #resource "UI_Sample.rc" 12 19 13 20 Class DayTimeCheckForm … … 51 58 52 59 Sub ButtonDate_Click(sender As Object, e As Args) 53 MessageBox(This, ToTCStr(DateTime.Today.GetDateTimeFormats("yyyy/MM/dd")), "今日の日付", MB_OK)60 TaskMsg(This, "今日の日付", DateTime.Today.GetDateTimeFormats("yyyy/MM/dd"), Nothing, MB_OK) 54 61 End Sub 55 62 56 63 Sub ButtonTime_Click(sender As Object, e As Args) 57 MessageBox(This, ToTCStr(DateTime.Now.GetDateTimeFormats("H:mm:ss")), "今日の日付", MB_OK)64 TaskMsg(This, "今日の日付", DateTime.Now.GetDateTimeFormats("H:mm:ss"), Nothing, MB_OK) 58 65 End Sub 59 66
Note:
See TracChangeset
for help on using the changeset viewer.