예제 #1
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));
        }
예제 #2
0
파일: TargetService.cs 프로젝트: Joxx0r/ATF
 /// <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);
 }