0

I want to stop other Threads until the user provides input in this window... giving code that I have as such:

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 a range. But, how to stop scanning until input is received in this window...

Could I do this by getting thread ID?

Dave Clemmer
  • 3,741
  • 12
  • 49
  • 72
AZ_
  • 21,688
  • 25
  • 143
  • 191

1 Answers1

0

user .ShowDialog()

if you window is named secondRibbonWindow then use

secondRibbonWindow.showDialog();
AZ_
  • 21,688
  • 25
  • 143
  • 191