using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; using Microsoft.Phone.Controls; using System.Windows.Threading; namespace Test1 { public partial class MainPage : PhoneApplicationPage { private DispatcherTimer _timer; public MainPage() { InitializeComponent(); } public void RefreshUI(object sender, EventArgs e) { DateTime dt = DateTime.Now; if (dt.Day == 1) { TextBox1.Foreground = Brush.White; } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)