From a34ff0fa725cae07eeb4651753f4f1e62db9ff8f Mon Sep 17 00:00:00 2001 From: Pooja Poojari <95325584+poojapoojari@users.noreply.github.com> Date: Fri, 14 Jan 2022 00:19:22 +0530 Subject: [PATCH 1/2] Fixed duplicate titles for US-1889327 (#1270) * Fixed duplicate titles for US-1889327 * Implemented peer review comment. * Implemented peer review comment for US-1889327 * Implemented peer review comment for US-1889327 * Implemented peer review comment for US-1889327 * Minor fixes for US-1889327 * Metadata updates for US-1889327 --- ...create-an-unbound-windows-forms-datagridview-control.md | 5 +++-- ...-procedures-at-set-intervals-with-wf-timer-component.md | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dotnet-desktop-guide/framework/winforms/controls/how-to-create-an-unbound-windows-forms-datagridview-control.md b/dotnet-desktop-guide/framework/winforms/controls/how-to-create-an-unbound-windows-forms-datagridview-control.md index 6a26db4710..e55d333347 100644 --- a/dotnet-desktop-guide/framework/winforms/controls/how-to-create-an-unbound-windows-forms-datagridview-control.md +++ b/dotnet-desktop-guide/framework/winforms/controls/how-to-create-an-unbound-windows-forms-datagridview-control.md @@ -1,7 +1,8 @@ --- -title: How to Create an Unbound Windows Forms DataGridView Control +title: Create an Unbound Windows Forms DataGridView Control description: Populate an unbound Windows Forms DataGridView Control programmatically and display a small amount of data in a table format without binding it to a data source. -ms.date: "03/30/2017" +ms.date: "01/12/2022" +ms.custom: devdivchpfy22 dev_langs: - "csharp" - "vb" diff --git a/dotnet-desktop-guide/framework/winforms/controls/run-procedures-at-set-intervals-with-wf-timer-component.md b/dotnet-desktop-guide/framework/winforms/controls/run-procedures-at-set-intervals-with-wf-timer-component.md index 2446395cd1..b313dc39c9 100644 --- a/dotnet-desktop-guide/framework/winforms/controls/run-procedures-at-set-intervals-with-wf-timer-component.md +++ b/dotnet-desktop-guide/framework/winforms/controls/run-procedures-at-set-intervals-with-wf-timer-component.md @@ -1,7 +1,8 @@ --- title: Run Procedures at Set Intervals with Timer Component description: Learn how use the Windows Form Timer component to run procedures at set intervals or when a set time interval has elapsed. -ms.date: "03/30/2017" +ms.date: "01/12/2022" +ms.custom: devdivchpfy22 dev_langs: - "csharp" - "vb" @@ -39,7 +40,7 @@ You might sometimes want to create a procedure that runs at specific time interv 5. At the appropriate time, set the property to `false` to stop the procedure from running again. Setting the interval to `0` does not cause the timer to stop. -## Example +## First code example This first code example tracks the time of day in one-second increments. It uses a , a , and a component on a form. The property is set to 1000 (equal to one second). In the event, the label's caption is set to the current time. When the button is clicked, the property is set to `false`, stopping the timer from updating the label's caption. The following code example requires that you have a form with a control named `Button1`, a control named `Timer1`, and a control named `Label1`. @@ -145,7 +146,7 @@ private: } ``` -## Example +## Second code example This second code example runs a procedure every 600 milliseconds until a loop has finished. The following code example requires that you have a form with a control named `Button1`, a control named `Timer1`, and a control named `Label1`. From 5811378ade77b866c2cdd898950401a3c6143faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ku=C4=8Dera?= <10546952+miloush@users.noreply.github.com> Date: Thu, 13 Jan 2022 18:52:21 +0000 Subject: [PATCH 2/2] Update property-animation-techniques-overview.md (#1271) wrong `Clock` reference --- .../property-animation-techniques-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/property-animation-techniques-overview.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/property-animation-techniques-overview.md index 614c06ff3e..1d46661f37 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/property-animation-techniques-overview.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/property-animation-techniques-overview.md @@ -84,7 +84,7 @@ This topic describes the different approaches for animating properties: storyboa ## Clock Animations - Use objects when you want to animate without using a and you want to create complex timing trees or interactively control animations after they start. You can use Clock objects to animate a dependency property of any object. + Use objects when you want to animate without using a and you want to create complex timing trees or interactively control animations after they start. You can use Clock objects to animate a dependency property of any object. You cannot use objects directly to animate in styles, control templates, or data templates. (The animation and timing system actually does use objects to animate in styles, control templates, and data templates, but it must create those objects for you from a . For more information about the relationship between objects and objects, see the [Animation and Timing System Overview](animation-and-timing-system-overview.md).)