public void SetupDialog()
{
// consider only showing the setup dialog if not connected
// or call a different dialog if connected
if (IsConnected) System.Windows.Forms.MessageBox.Show("Already connected, just press OK");
using (SetupDialogForm F = new SetupDialogForm())
{
var result = F.ShowDialog();
if (result == System.Windows.Forms.DialogResult.OK)
{
//Properties.Settings.Default.Save();
return;
}
//Properties.Settings.Default.Reload();
}
}