/// <summary>
        /// Shows the target dialog</summary>
        /// <param name="dialogOwner">Dialog owner window handle</param>
        /// <returns>Target dialog result</returns>
        protected DialogResult ShowTargetDialog(IWin32Window dialogOwner)
        {
            TargetDialog dlg = new TargetDialog(
                m_targets,
                m_singleSelectionMode,
                m_defaultPortNumber,
                m_canEditPortNumber,
                m_protocols);

            return(dlg.ShowDialog(dialogOwner));
        }
Exemple #2
0
 /// <summary>
 /// Shows the target dialog</summary>
 /// <param name="dialogOwner">Dialog owner window handle</param>
 /// <returns>Target dialog result</returns>
 protected DialogResult ShowTargetDialog(IWin32Window dialogOwner)
 {
     TargetDialog dlg = new TargetDialog(
         m_targets,
         m_singleSelectionMode,
         m_defaultPortNumber,
         m_canEditPortNumber,
         m_protocols);
     return dlg.ShowDialog(dialogOwner);
 }