diff --git a/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/pools.wiki b/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/pools.wiki
index be0d9eda..eb8cee4d 100644
--- a/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/pools.wiki
+++ b/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/pools.wiki
@@ -31,8 +31,7 @@ When the display is finished, the application wait for you to pressed the return
This application shows how to use the thread THREAD_POOL.
An asynchronous thread is launched:
- feature {THREAD_POOL}.queue_user_work_item_wait_callback_object
- (create {WAIT_CALLBACK}.make (Current, $my_async_operation, l_async_operation_done))
+ {THREAD_POOL}.queue_user_work_item (create {WAIT_CALLBACK}.make (Current, $async_operation, l_async_operation_done))
and is associated to the local variable l_async_operation_done. Both threads perform simultaneously some operations. The main thread wait for the asynchronous thread to complete his own operations
diff --git a/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/timers.wiki b/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/timers.wiki
index 4dd4203a..74d5ded3 100644
--- a/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/timers.wiki
+++ b/documentation/current/platform-specifics/microsoft-windows/net/samples/threads-samples/timers.wiki
@@ -34,11 +34,11 @@ When the display is finished, the application wait for you to pressed the return
This application shows how to use the thread TIMER. The timer is launched:
- create my_timer .make_with_callback (create {TIMER_CALLBACK}.make (Current, $check_status), Void, 0, 2000)
+ create my_timer.make_with_callback (create {TIMER_CALLBACK}.make (Current, $check_status), Void, 0, 2000)
-and call the feature check_status that displays the message "Checking Status." every two seconds.
+and calls the feature check_status that displays the message "Checking Status." every two seconds.
-This sample contains the following class:
+This sample contains the following classes:
* TIMER
* TIMER_CALLBACK
diff --git a/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/message-box.wiki b/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/message-box.wiki
index 3ba43120..bc0afab7 100644
--- a/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/message-box.wiki
+++ b/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/message-box.wiki
@@ -24,7 +24,7 @@ To compile the example:
After launching the application, you will see a window displayed with a similar appearance to the one above.
-Click on the BUTTON "Click Me!" and a message box will appear with the text that you have entered in the TEXT_FIELD.
+Click on the BUTTON "Click Me!" and a message box will appear with the text that you have entered in the TEXT_BOX.
@@ -32,16 +32,27 @@ Click on the BUTTON "Click Me!" and a message box
The application shows how to use the very useful MESSAGE_BOX control.
-An event ( EVENT_HANDLER) is associated to a control (here to the BUTTON). So the line '
-my_button.add_click (create {EVENT_HANDLER}.make (Current, $on_my_button_clicked ))
+An event ( EVENT_HANDLER) is associated to a control (here to the BUTTON). So the line
+
+ my_button.add_click (create {EVENT_HANDLER}.make (Current, $on_my_button_clicked ))
associates a click to my_button to the feature on_my_button_clicked. So every time the BUTTON my_button is clicked, the feature on_my_button_clicked is executed.
-The feature my_button_clicked displays a MESSAGE_BOX ( feature { WINFORMS_MESSAGE_BOX}. show ( ''msg'')) with the text contained in TEXT_FIELD ( ''msg'' := my_text_field. text).
+
+The feature my_button_clicked displays a MESSAGE_BOX
+
+ {WINFORMS_MESSAGE_BOX}.show (msg)
+
+with the text contained in TEXT_BOX
+
+ msg := "Text is : '"
+ msg.append (my_text_box.text)
+ msg.append ("'")
+
This sample contains the following classes:
* FORM
* BUTTON
-* TEXT_FIELD
+* TEXT_BOX
* EVENT_HANDLER
==Notes==
diff --git a/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/simple-hello-world-form-sample.wiki b/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/simple-hello-world-form-sample.wiki
index e209d9cf..33d69629 100644
--- a/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/simple-hello-world-form-sample.wiki
+++ b/documentation/current/platform-specifics/microsoft-windows/net/samples/winform-samples/simple-hello-world-form-sample.wiki
@@ -25,12 +25,12 @@ After launching the application, you will see a window displayed with a similar
The application shows how to display a Windows Form under the windows environment. The application inherits the FORM class, and just set the title with "Hello world" with the inherited feature set_title.
- set_title (("Hello world").to_cil)
+ set_title (("Hello world").to_cil)
The application is launched in a PROCESS with this command line:
- feature {WINFORMS_APPLICATION}.run_form (Current).
+ feature {WINFORMS_APPLICATION}.run_form (Current).
This sample contains the following classes: