Tag Archives: reset

Reset an Access autonumber field in C#

The post Get an autonumber value that was just inserted in C# explains how to use autonumbered fields. This post explains how you can reset the value used by an autonumber field. To reset an autonumber field in an Access … Continue reading

Posted in ADO.NET, database | Tagged , , , , , , , , , , , , | 2 Comments

Set video position with a scroll bar with WPF in C#

The example Control a video with the WPF MediaElement in C# lets you set video position in several ways. You can use the Next or Previous buttons to adjust the video’s current position by 10 seconds. You can also enter … Continue reading

Posted in controls, graphics, multimedia, wpf, XAML | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

Make a XAML button library in C#

This example shows how you can build an easily reusable XAML button library in WPF. The example Make a WPF button template in C# uses a WPF button template to make nice round buttons that change their appearance appropriately when … Continue reading

Posted in controls, graphics, wpf, XAML | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Make a WPF button template in C#

The example Control a video with the WPF MediaElement in C# uses attractive button images, but those images still sit on top of rectangular buttons. The images were generated by the example Make video control buttons in WPF and C#. … Continue reading

Posted in controls, graphics, multimedia, wpf | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment

Control a video with the WPF MediaElement in C#

This example shows how you can control an MP4 video with WPF’s MediaElement control. The control provides a surprisingly nice assortment of features that let you play, pause, position, and otherwise control a video. The following XAML code defines the … Continue reading

Posted in controls, graphics, multimedia, wpf | Tagged , , , , , , , , , , , , , , , , , , | 2 Comments