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

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