private ConnectionModel getConnectionDetails()
 {
     ConnectDialog dialog = new ConnectDialog();
     dialog.Owner = this;
     if (dialog.ShowDialog() == true)
     {
         return dialog.ConnectionModel;
     }
     else
     {
         return null;
     }
 }
Exemple #2
0
        private ConnectionModel getConnectionDetails()
        {
            ConnectDialog dialog = new ConnectDialog();

            dialog.Owner = this;
            if (dialog.ShowDialog() == true)
            {
                return(dialog.ConnectionModel);
            }
            else
            {
                return(null);
            }
        }