//---------------------------------------------------------------------------
        #endregion
        //---------------------------------------------------------------------------
        #region Methods
        //---------------------------------------------------------------------------
        /// <summary>
        /// Отображает диалог найстройки COM-порта
        /// </summary>
        /// <param name="owner"></param>
        /// <returns>Результат</returns>
        public System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.IWin32Window owner)
        {
            FormSerialPortSettings form = new FormSerialPortSettings();

            form.SerialPort = _SerialPort;
            return(form.ShowDialog(owner));
        }
 //---------------------------------------------------------------------------
 #endregion
 //---------------------------------------------------------------------------
 #region Methods
 //---------------------------------------------------------------------------
 /// <summary>
 /// Отображает диалог найстройки COM-порта
 /// </summary>
 /// <param name="owner"></param>
 /// <returns>Результат</returns>
 public System.Windows.Forms.DialogResult ShowDialog(System.Windows.Forms.IWin32Window owner)
 {
     FormSerialPortSettings form = new FormSerialPortSettings();
     form.SerialPort = _SerialPort;
     return form.ShowDialog(owner);
 }