using System; using System.Collections.Generic; using System.Linq; using System.Text; using log4net; using log4net.Config; namespace UserAndAction { class Program { private static readonly ILog logger = LogManager.GetLogger ( typeof ( Program ) ); static void Main ( string[] args ) { Console.WriteLine ( " START " ); XmlConfigurator.Configure( new FileInfo ( "D:\\libs\\path\\to\\App.config")); //tis configures the loo ; //tis configures the logger logger.Debug ( "Here is a debug log." ); logger.Info ( "... and an Info log." ); logger.Warn ( "... and a warning." ); logger.Error ( "... and an error." ); logger.Fatal ( "... and a fatal error." ); Console.WriteLine ( " HIT A KEY TO EXIT " ); Console.ReadLine (); Console.WriteLine ( " END " ); } } //eof class } //eof namespace
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 week ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!