tags:

views:

70

answers:

1

I want to stop other Threads until user input in this window... giving code that i have yet

if (!File.Exists(@"DiscoveryConfig.bin"))
        {
            Application.Current.Dispatcher.Invoke((showRangeInputWindow)delegate()
            {
                new WinSubnetRangeInput().Show();
            }, null);


        }

Lets say the following code do a Ping scan of network nodes but first it opens a window to take range. but how to stop scanning until input is received in this window...

Could I do this by getting thread ID ???

A: 

user .ShowDialog()

if you window is named secondRibbonWindow then use

secondRibbonWindow.showDialog();
Aizaz