private void DateTime_Loaded(object sender, RoutedEventArgs e) { DateTime.Content = DateTime.Now.ToShortDateString("DD/MM HH:MM:SS"); }
Label' does not contain a definition for 'Now' and no extension method 'Now' accepting a first argument of type 'Label' could be found (are you missing a using directive or an assembly reference?)
Quote:I have a label called DateTime
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)