using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Diagnostics;
namespace Thread1
{
class ThreadTest
{
static void Main()
{
string text = "Before";
text = "Starting a new process";
for ( int i = 0 ; i<99 ; i++ )
{
Thread t = new Thread(delegate() { WriteText(text); });
t.Start();
}
} //eof Main
static void WriteText(string text)
{
Console.WriteLine(text);
Process p = Process.Start("D:\\libs\\Threads\\Demos\\ProcessDemo1\\ProcessDemo1\\bin\\Debug\\ProcessDemo1.exe");
} //eof method
} //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...
2 weeks 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 !!!!