How To Use The Connect Dialog

Toolkits.HowToUseTheConnectDialog History

Hide minor edits - Show changes to output

Changed line 8 from:
(:source lang=csharp linenum=1 tabwidth=2 :) [=
to:
(:source lang=csharp tabwidth=2 :) [=
Added line 1:
[[Toolkits.Networking | << Back to the .Networking page]]
Added lines 3-5:
\\
Added lines 1-16:
\\
GroupLab.Networking has a built in dialog that will ask the user for the URL to connect to.

(:source lang=csharp linenum=1 tabwidth=2 :) [=
string url = "tcp://localhost:port";
if(DialogResult.OK == GroupLab.Networking.UrlPrompt.Show(ref url))
{
// add your code here
// it might look something like this

this.SD.Url = url;
this.SD.Opened += new EventHandler(SD_Opened);
this.SD.Closed += new EventHandler(SD_Closed);
this.SD.Open();
}
=]